Hi! First of all, great work on this project!
I'm trying to add some functionality such as fixed editor top and I was able to achieve that with a custom component.
The issue is scrolling with, for example, the block inserter sidebar opened:
The right behavior should be to be "attached" to the topbar.
I've checked Gutenberg's components (block inserter and popover) and it seems it adds some scroll listeners to a parent container to follow the scroll but since I'm scrolling the whole document node, it won't work.
I could add the behaviors to the inserter sidebar and popover on my custom component but I wonder if anyone got ideas to properly handle/workaround this? Without too much "hacking"... ;)
Hi! First of all, great work on this project! I'm trying to add some functionality such as fixed editor top and I was able to achieve that with a custom component.
The issue is scrolling with, for example, the block inserter sidebar opened: The right behavior should be to be "attached" to the topbar.
I've checked Gutenberg's components (block inserter and popover) and it seems it adds some scroll listeners to a parent container to follow the scroll but since I'm scrolling the whole document node, it won't work.
I could add the behaviors to the inserter sidebar and popover on my custom component but I wonder if anyone got ideas to properly handle/workaround this? Without too much "hacking"... ;)