yabwe / medium-editor

Medium.com WYSIWYG editor clone. Uses contenteditable API to implement a rich text solution.
https://yabwe.github.io/medium-editor/
Other
16.03k stars 1.85k forks source link

The toolbar is always static in React 16+ #1553

Closed shiponcs closed 3 years ago

shiponcs commented 3 years ago

Description

The toolbar is static in the bottom of the all component though it's expected to be popup on text highlighting of the editable component.

Steps to reproduce

Here is the codesandbox where I tried to reproduce the problem.

Expected behavior: it's expected to be popup the toolbar on text highlighting of the editable component.

Actual behavior: The toolbar is always static to the page though I didn't set it to be static

Link to an example: Here is the codesandbox where I tried to reproduce the problem.

Versions