Open MyTotoro opened 1 month ago
having same issue
Can you try using BlockNoteView
from @blocknote/mantine
and see if you get the same issue? Just to see if the bug is related to the react
or shadcn
packages
@matthewlipski good suggestion
I did some A/B testing and noticed the shadcn
behavior happens on the Blocknote docs. This is opened in an incognito chrome window (with ad block extensions but no dev extensions enabled).
I tried replicating this behavior in a clean stackblitz (forked from when you create a New Issue
) but it doesn't have that behavior:
https://stackblitz.com/edit/github-whtt2j-niytig?file=App.tsx
It's tricky to debug what's happening to the div element as it disappears completely based on mouse interactions - so it's hard to break on attribute changes in the console. But it seems like the shadcn floating toolbar is doing some weird calculations for transform
and translate
and it's being mixed with some scroll behavior
Thanks for checking this! Good to know it's ShadCN related, will fix👍
Describe the bug Selecting
Colors
on toolbar will scroll the whole screen awkwardly. (I'm not scrolling the screen - but the whole screen is scrolling up)Misc
{ node: '20.11.1', npm: '10.5.0' }