'Ensure buttons visible
I want to scroll buttons into view in two different scenarios.
One scenario is upon clicking a list item, and the second scenario is when a text field is focused.Gif showing both scenarios
From the example, I would like the "edit" and "delete" buttons to scroll into view when the list item is clicked. And I would like the "Save" and "Cancel" buttons to scroll into view when the text field is focused.
Any guidance is appreciated!
Solution 1:[1]
Wrap your buttons with Visibility widgets, and use bool variables to set when they should be visible.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | fsbelinda |
