plate icon indicating copy to clipboard operation
plate copied to clipboard

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

Open andrewLapshov opened this issue 1 year ago • 3 comments

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

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar

andrewLapshov avatar Jun 27 '24 07:06 andrewLapshov

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

andrewLapshov avatar Jun 27 '24 07:06 andrewLapshov

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

felixfeng33 avatar Aug 24 '24 07:08 felixfeng33

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

andrewLapshov avatar Aug 27 '24 18:08 andrewLapshov

Fixed in 39.1.4

zbeyens avatar Oct 10 '24 12:10 zbeyens