-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand block list tree on selection. #35817
Merged
Merged
Commits on Feb 20, 2022
-
Check element ref for active document so we can try to expand the lis…
…t only when a block is selected outside the block list. Using an `useEffect` to loop through parent nodes, and expand them when necessary.
Configuration menu - View commit details
-
Copy full SHA for 7228725 - Browse repository at this point
Copy the full SHA 7228725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3016c4f - Browse repository at this point
Copy the full SHA 3016c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 502c13c - Browse repository at this point
Copy the full SHA 502c13cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd830fc - Browse repository at this point
Copy the full SHA dd830fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce53172 - Browse repository at this point
Copy the full SHA ce53172View commit details -
This commit can potentially be discarded as it might be worth explori…
…ng in a new PR. Here we're calculating the top scroll position of the selected block.
Configuration menu - View commit details
-
Copy full SHA for 629e78a - Browse repository at this point
Copy the full SHA 629e78aView commit details -
Tracking the selected block in the tree and checking it against the s…
…elected block *should* inform us that a block has been selected elsewhere, e.g., the editor. When we know this we can execute the hook logic that expands and scrolls to the selected element in the tree if a block is selected elsewhere. Removing hasFocus.
Configuration menu - View commit details
-
Copy full SHA for 10ce687 - Browse repository at this point
Copy the full SHA 10ce687View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2ad46 - Browse repository at this point
Copy the full SHA 2f2ad46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f025c5 - Browse repository at this point
Copy the full SHA 8f025c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0eb982 - Browse repository at this point
Copy the full SHA f0eb982View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4049d45 - Browse repository at this point
Copy the full SHA 4049d45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 874a457 - Browse repository at this point
Copy the full SHA 874a457View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33cf482 - Browse repository at this point
Copy the full SHA 33cf482View commit details
Commits on Feb 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 30f65ee - Browse repository at this point
Copy the full SHA 30f65eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a2731 - Browse repository at this point
Copy the full SHA d1a2731View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.