I am using a slider component inside a Coordinate Container (tested in both percent and fixed modes), while the main view is a Flex Container. The view also includes a Menu Tree component and an Embedded View component that loads a dynamic view. Inside that dynamic view, I am loading a custom slider view.
The issue occurs when both the menu and the slider are visible at the same time. While dragging the slider, it jumps to random positions and does not behave correctly. If I disable the menu and use only the slider, it works as expected.
When both components are enabled simultaneously, the slider does not function properly. Is there a recommended way to handle this scenario so that both the menu and slider can work correctly at the same time?
I have attached a video for reference.
I don't believe it's the menu tree that's breaking it. I have a feeling it's the fact that you have ANYTHING to it's left, changing the size of it's container.
Haven't played with the slider myself, but mixing the flex and coordinate containers may be getting it confused, so the click is registering as a % of the full window width, as opposed to a % of the slider width.
In my case, the slider is inside a Coordinate Container, and its parent view is loaded via an Embedded View inside a Flex Container. When the menu (or any component) appears on the left, the available width of the parent container changes dynamically.
Based on what you mentioned, it does seem like the slider’s value calculation may be using the overall container or window width instead of the actual slider component width, which could explain the jumping behavior.
I’ll try testing this by keeping the parent container width fixed or by moving the slider into a Flex Container to see if that resolves the issue. If you have any best-practice recommendations for using sliders in responsive layouts or mixed container scenarios, please let me know.
Thanks again for the guidance.
I tried the suggested solutions, but I’m still facing the same issue. If anyone has guidance or best practices for handling sliders in mixed Flex and Coordinate container layouts in Perspective, it would be very helpful.