-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
AppLayout have fixed
and reveals
features, but they are not working in the demo.
AppLayoutAddon/src/main/java/com/flowingcode/addons/applayout/AppLayout.java
Lines 160 to 176 in d8386fe
/** | |
* Sets the fixed attribute so it mantains the header fixed at the top | |
* so it never moves away. | |
* @param fixed | |
*/ | |
public void setFixed(boolean fixed) { | |
getElement().setAttribute("fixed", fixed); | |
} | |
/** | |
* Sets the reveals attribute so it slides back the header when scrolling | |
* back up. | |
* @param reveals | |
*/ | |
public void setReveals(boolean reveals) { | |
getElement().setAttribute("reveals", reveals); | |
} |
Expected behavior
- With fixed, the header stays in place at the top at all times.
- With reveals, the header reappears upon upward scrolling.
Minimal reproducible example
https://addonsv24.flowingcode.com/applayout/applayout-demo
Add-on Version
6.0.1-SNAPSHOT
Vaadin Version
24.7.0
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
To Do