jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.42k stars 1.16k forks source link

rdw-image-alignment-options-popup is hidding on hover (React 16) #487

Open hugo-perier opened 7 years ago

hugo-perier commented 7 years ago

Hi !

I tried to display the buttons on the image instead of under it by default but still, when I hover them, they disappear.

jpuri commented 7 years ago

I am not able to reproduce the exact issue, can you plz share a recording may be if possible.

paradoxxxzero commented 7 years ago

I got this problem with react 16 too

hover

MarkLyck commented 7 years ago

I'm having the same issue...

Tried positioning the controls over the image instead of under it, but they still disappear when trying to hover over them?

Can we get this pull request merged in or another fix added soon please?

jpuri commented 7 years ago

Hey @MarkLyck , I will check this soon.

vincentdesmares commented 6 years ago

I was having the same issue with React 16.0.0. After a bit of research, it appears that this was a React issue, fixed a few month ago in the 16.1.0.

I had the following lines in my package.json to resolve a React conflict for another lib:

  "resolutions": {
    "react": "16.0.0",
    "react-dom": "16.0.0"
  }

After upgrading properly to react 16.2.0 (no reason to just bump to 16.1.0), the problem was solved.

@jpuri, Thanks for this awesome lib!

TLDR: Not the lib fault, check your React version.

ibarrae commented 5 years ago

I'm somehow having the same behavior with react 16.8.6, when you click 1st the alignment options disappear, after that is works correctly. issue

varuas commented 3 years ago

I'm somehow having the same behavior with react 16.8.6, when you click 1st the alignment options disappear, after that is works correctly. issue

@ibarrae Facing the same issue. Were you able to solve this?