while the highlighting color is changed like this:
editor.commands.setHighlight({ color });
The first one causes the tippy popover to lose focus, then appear at the top left corner of the screen, and then regain focus and return to its correct position.
Provide environment information
System: OS: macOS 14.5 CPU: (14) arm64 Apple M3 Max Memory: 68.82 GB / 96.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.7.1 - /opt/homebrew/bin/node npm: 10.5.0 - /opt/homebrew/bin/npm pnpm: 9.3.0 - /usr/local/bin/pnpm Watchman: 2024.03.25.00 - /opt/homebrew/bin/watchman
Describe the bug
If we take a look at the
color-selector.tsx
file, we can see that the text color selection changes the text color like this:while the highlighting color is changed like this:
The first one causes the tippy popover to lose focus, then appear at the top left corner of the screen, and then regain focus and return to its correct position.
The second one does not do this.
Link to reproduction
https://novel.sh/
To reproduce
Additional information
No response