-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Describe the bug
Our SplitterLayout has two SplitterElements.
By default the width of the Splitter is 1rem. But our application requirement is 4px. So, we have added a style to make the splitter 4px.
.splitterLayout > div[class*="Splitter-splitter"] {
width: 4px;
min-width: 4px;
background-color: #dedede;
}
Since the drag button is still 1rem, it is draggle over that area. I have added a border to the drag button in the repro to show the area where its draggable.
Problem:
When the button is dragged from left side of the draggable area that is outside of the Splitter width, the SplitterElement is reset to its min size every time
Isolated Example
https://codesandbox.io/p/github/vishnuvardhan-sairam/ui5-webcomponents-splitter
Reproduction steps
1.Resize splitter from left side of the Splitter Button
2.Notice that the SplitterElement is resized to its min-width every-time
Expected Behaviour
It should retain the size of the SplitterElement
Screenshots or Videos
UI5.Webcomponents.Issue.mov
UI5 Web Components for React Version
1.26.0
UI5 Web Components Version
1.23.1
Browser
Chrome
Operating System
MacOS 14.3.1
Additional Context
No response
Relevant log output
No response
Organization
SAP
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status