udecode / plate

A rich-text editor powered by AI
https://platejs.org
Other
11.61k stars 707 forks source link

When LinkFloatingToolbar is open, FloatingToolbar loses its position when the page is scrolled #3312

Closed andrewLapshov closed 3 weeks ago

andrewLapshov commented 4 months ago

Description

With LinkFloatingToolbar open, FloatingToolbar changes its position to the top left corner of the page when scrolled. Reproduces in the playground.

Reproduction URL

No response

Reproduction steps

1. Go to `https://platejs.org/`
2. Select any text
3. In `FloatingToolbar` click `Link` button
4. Scroll the page

Plate version

35.0.0

Slate React version

0.105.0

Screenshots

No response

Logs

No response

Browsers

Chrome

Funding

Fund with Polar

andrewLapshov commented 4 months ago

Снимок экрана 2024-06-27 102827

felixfeng33 commented 2 months ago

How do you think that we hidden the floating toolbar when link popover is open?

andrewLapshov commented 2 months ago

if it is not possible to save the position of the toolbar, then it is better to hide it

zbeyens commented 3 weeks ago

Fixed in 39.1.4