Add focusPosition[relative](x,y) (#280)

It allows when using inside a frame, to scroll the view toward a
particular position.

This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/125
This commit is contained in:
Arthur Sonzogni
2021-12-13 11:38:31 +01:00
committed by GitHub
parent 52276c8a2b
commit 7e5cd23b4c
6 changed files with 186 additions and 0 deletions

View File

@@ -17,6 +17,13 @@ unreleased (development)
- `paragraphAlignRight`
- `paragraphAlignJustify`
- Add the helper elements based on `flexbox`: `hflow()`, `vflow()`.
- Add: `focusPositionRelative` and `focusPosition`
### Bug
#### Component
- `Input` shouldn't take focus when hovered by the mouse.
- Modifying `Input`'s during on_enter/on_change event is now working correctly.
### Bug