-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Fix issue where visibleChanged does not cause rerender (#13170)
@ch-brian noticed a weird issue where a TextInput in a Modal was losing focus on the second Modal open. The issue was that visibleChanged was not synced to the render cycle, causing an incorrect value read on the next render, triggering the auto focus function of the Modal to the default focus target at the wrong time. GitOrigin-RevId: 2a8b49e741b97ee9f8183ed4553db31076acee5f
- Loading branch information
1 parent
0ee90a7
commit f727a20
Showing
2 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters