-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool submenu covers image and image moves into the wrong direction #338
Comments
Any fix ? |
Hi, |
@research-scife @KatGr |
Is there any way to fix this? |
@Icc-thang |
Version
TUI image editor 3.7.2
Development Environment
Chrome 79, MacOS Catalina 10.15.2
Current Behavior
When menuBarPosition is top and opening any tool menu Draw, Paint, Crop or any other tool the image container ".tui-image-editor" moves Up instead of Down. So the tool menu covers actual picture and you cannot use the tool on the whole image.
Relevant code is in 'https://github.com/nhn/tui.image-editor/blob/master/src/js/ui.js'
So for example when height is 800, offset is 736 the result "top" becomes -32. So instead of image going down it goes up and it becomes hard to use the tool on the image.
Image normal
Image moved up
Expected Behavior
When tool menu is expanded and menuBarPosition is "top" the image should move down, not up.
The text was updated successfully, but these errors were encountered: