You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(listview): update index after items removed (#5135)
* fix(listview): update index after pop
* tests(listview): import future for type hints
* ensure pop error is original index rather than normalized
* fix(listview): update index after remove_items
* update changelog
* reinstate always_update to index reactive
* Revert "reinstate always_update to index reactive"
This reverts commit 68e205e.
* handle unchanged index without always_update
* update changelog
* update changelog
* add docstrings
---------
Co-authored-by: Will McGugan <[email protected]>
Co-authored-by: Darren Burns <[email protected]>
- Fixed `ListView` not updating its index or highlighting after removing items https://github.com/Textualize/textual/issues/5114
16
+
17
+
### Changed
18
+
19
+
-`ListView.pop` now returns `AwaitComplete` rather than `AwaitRemove`https://github.com/Textualize/textual/pull/5135
20
+
-`ListView.remove_items` now returns `AwaitComplete` rather than `AwaitRemove`https://github.com/Textualize/textual/pull/5135
15
21
- Fixed ListView focus styling rule being too broad https://github.com/Textualize/textual/pull/5304
16
22
- Fixed issue with auto-generated tab IDs https://github.com/Textualize/textual/pull/5298
17
23
@@ -46,6 +52,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
46
52
47
53
- Fixed a glitch with the scrollbar that occurs when you hold `a` to add stopwatches in the tutorial app https://github.com/Textualize/textual/pull/5257
0 commit comments