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
Google Keep: Fix moving focus when search is dismissed.
Previously, this code was triggering when it shouldn't such as when editing a new note, causing focus to get spuriously lost.
Now, we use the visibility of the Clear search button to figure out whether search was dismissed.
This required adding a whenAttrChangedOnAncestor option to prevent a tweak from being applied when an attribute changes on an ancestor.
Otherwise, every time the style attribute changed on an ancestor, this code would trigger and throw focus.
0 commit comments