This is an automated email from the ASF dual-hosted git repository.
thiagoelg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new d4e757afede kie-issues#2186: DMN Editor: Data Types screen should have
independent scroll for each panel (#3375)
d4e757afede is described below
commit d4e757afede813e9eac858cc905e4ab9d271979c
Author: Aswathi <[email protected]>
AuthorDate: Wed Dec 17 21:31:29 2025 +0530
kie-issues#2186: DMN Editor: Data Types screen should have independent
scroll for each panel (#3375)
Co-authored-by: Thiago Lugli <[email protected]>
---
packages/dmn-editor/src/DmnEditor.css | 8 ++++++++
packages/dmn-editor/src/DmnEditor.tsx | 5 ++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/packages/dmn-editor/src/DmnEditor.css
b/packages/dmn-editor/src/DmnEditor.css
index 6fd97d7db5d..f28f734a8d4 100644
--- a/packages/dmn-editor/src/DmnEditor.css
+++ b/packages/dmn-editor/src/DmnEditor.css
@@ -907,8 +907,16 @@ circle.kie-dmn-editor--diagram-edge-waypoint:hover {
.kie-dmn-editor--data-types-filter input {
flex-grow: 1;
}
+.kie-tools--dmn-editor--data-types-container {
+ overflow: hidden;
+ height: 100%;
+}
.kie-dmn-editor--data-types-nav {
padding-left: 16px;
+ overflow-y: auto;
+}
+.kie-dmn-editor--data-types-container .pf-c-drawer__content {
+ overflow-y: auto;
}
.kie-dmn-editor--data-types-nav-item:first-child {
margin-top: 16px;
diff --git a/packages/dmn-editor/src/DmnEditor.tsx
b/packages/dmn-editor/src/DmnEditor.tsx
index 447a0be6461..745bfcc8652 100644
--- a/packages/dmn-editor/src/DmnEditor.tsx
+++ b/packages/dmn-editor/src/DmnEditor.tsx
@@ -454,7 +454,10 @@ export const DmnEditorInternal = ({
</Tab>
<Tab eventKey={DmnEditorTab.DATA_TYPES} title={tabTitle.dataTypes}>
- <div data-testid={"kie-tools--dmn-editor--data-types-container"}>
+ <div
+ data-testid={"kie-tools--dmn-editor--data-types-container"}
+ className="kie-tools--dmn-editor--data-types-container"
+ >
{navigationTab === DmnEditorTab.DATA_TYPES && <DataTypes />}
</div>
</Tab>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]