Sticky positioning: nesting a sticky group block doesn't remove the sticky positioning #49903
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Bug
An existing feature does not function as intended
Description
First identified in slack with props to Tommaso Pirola: Sticky positioning shouldn't be available to blocks that are nested but, if you set sticky positioning in a group block, you can still nest it in another block, like a column block, and the sticky property will remain along with the UI.
@tellthemachines can you check this out? I'm adding to the 6.2.x board for now.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Here's what happens if you drag the group into a columns block:
sticky.bug.mov
Here's what happens if you drag the group into a template part:
sticky.bug.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: