Open Banbury opened 3 months ago
Kindly, note that we need to add the "fixed", "position" and "z-Index" as style property on Float button component, so that users have an easier support to set this.
I do think, that a button that is called Floating Button, should float by default. Otherwise you could just use a standard button.
And I just noticed, that the primary style is white on white, which makes the icon invisible.
We changed the Issue to a feature issue. Cause the Button by itself was pretty fine. Lowcoder offers a lot of flexibilities and your usecase (the most expected one indeed) is only one of many for the Floating Button. What we will do is to extend the floating button to have a UI in the Style Properties allowing easier to set your desired attributes. "Fixed position", "Z-Index" and "top / right / bottom / left" placement.
Is there an existing issue for this?
Current Behavior
The floating button acts like a element with absolute positioning. It doesn't float above the other components and it isn't fixed to the screen. Also the primary theme doesn't show the icon.
Expected Behavior
The floating button should always be displayed above all other components. It should stay in a fixed position on the screen, if the page is scrolled.
Steps to reproduce
Environment
Environment: Docker Version: 2.4.1-2.4.1 #fdffe017
Additional Information
No response