html-editor-enhanced icon indicating copy to clipboard operation
html-editor-enhanced copied to clipboard

[BUG] - Strange positioning of the font styling list popup when clicking on the dropdown

Open vbaxan opened this issue 3 years ago • 7 comments

This is what it looks like when clicking on the dropdown with "Normal" and other styling options:

Screenshot 2021-11-05 at 09 45 38

Is there something that has to be set maybe, in order for the popup to get displayed properly?

vbaxan avatar Nov 05 '21 07:11 vbaxan

Are you using the custom toolbar position here? If so that might be causing it but I may be able to fix it.

tneotia avatar Nov 05 '21 13:11 tneotia

Yes, but I think I've seen this using ToolbarPosition.belowEditor as well. It reproduces randomly too. Last time I managed to reproduce it was whilst having the keyboard displayed and toggling the "bold" option.

vbaxan avatar Nov 08 '21 07:11 vbaxan

hi @tneotia ! i still get this issue in version 2.4.0+1 just installed the package, implemented like the example, and voila this happened.

istidanaharjanti avatar Dec 15 '21 03:12 istidanaharjanti

@istidanaharjanti and @vbaxan can you both add dropdownMenuDirection: DropdownMenuDirection.up, to the HtmlToolbarOptions in your implementation? Make sure to add inside both ToolbarWidget and Html incase you are using custom toolbar position.

tneotia avatar Jan 09 '22 21:01 tneotia

@tneotia no, does not work for me - I still have this effect as in the image.

vbaxan avatar Jan 14 '22 07:01 vbaxan

Could you please send the page widget code so I can try and reproduce it?

tneotia avatar Jan 14 '22 11:01 tneotia

dropdownMenuDirection: DropdownMenuDirection.up

hello,Are you done with that? I do the same thing now, one moment it looks normal, the next moment it looks like the image above ,If yes, how did you solve it?

1136346879 avatar Aug 25 '22 06:08 1136346879