You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UI moves or covers other UI (in the case of mobile) when an image is selected to be added to a comment.
To Reproduce
Go to any post and click on the image upload button of a comment.
Select a file for upload.
The file gets uploaded.
The text input that contains the URL of the newly uploaded image appears causing the image upload button to move up (desktop) or covers other UI (mobile).
Expected behavior
The UI should not shift or cover other UI.
Screenshots
Desktop (please complete the following information):
OS: macOS 10.14.5
Browser: FireFox, Chrome, Safari
Version: latest
Smartphone (please complete the following information):
Device: iPhone 6 SE
OS: iOS
Browser: Brave
Version: not sure
Additional context
The text was updated successfully, but these errors were encountered:
I have a PR coming up later today tomorrow for this that fixes the desktop issue, but I still need to look into the mobile issue. The refactor in #3082 came about because of this issue.
Although it looks like an easy fix, it was a little more complicated. A lot ofthe comment form had elements using position: absolute with a lot of calc(...) in the CSS. I opted to go for Flexbox, that ends up reducing the amount of CSS and makes it easier to make changes to the form.
Describe the bug
The UI moves or covers other UI (in the case of mobile) when an image is selected to be added to a comment.
To Reproduce
Expected behavior
The UI should not shift or cover other UI.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: