-
Notifications
You must be signed in to change notification settings - Fork 282
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
Images alignment do not behave consistently in the UI on IE 11 #1184
Comments
Hi @ajsampang67, Thanks for reporting this. I tried reproducing the issue you described but I'm not really sure if this exactly what you mean, please have a look at the following .gif image I'm inserting an image and hitting the "enter" key before trying to align the image, which will move the cursor "outside" of the image so I'm not sure if this should be considered as a bug. |
Hi @julien , Here, I center it twice. First demonstrates the toolbar issue, where the toolbar will stay back in the original position and the center button is not highlighted. Second demonstrates the center outline, which should not be stretching across the editor, but only outlining the image (as shown in firefox/chrome) |
Hi @ajsampang67, Concerning the image alignment button issue I sent PR #1185 which fixes the problem. |
Wonderful, thanks for the quick fix! @julien good to close then? |
@ajsampang67 no problem. |
Hi @julien, I've tested with the updated version and issue is still reproducible: |
Hi @ajsampang67 , Thanks for the update, I tried this too but on the alloy-editor demo as you can see in the following .gif I'll look into this when I have the time and keep you updated, for issues related to liferay-portal it might be a better idea to create an issue on Jira ticket. Thanks |
Hi @ajsampang67, Just wanted to tell you I also tested this in liferay-portal and as far as I can see it's working as expected, please see the attached .gif |
Hi @julien, |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When adding an image, an inital toolbar will pop up for alignment. Selecting one of these alignments will incorrectly highlight a blue box filling the editor area, and will not highlight which alignment is selected in the toolbar.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
**Important if clicking elsewhere first, the issue will not reproduce
What is the expected behavior?
The image would center, with the floating menu UI showing that the selected content is centered and no blue box extending all the way across the content section
Which versions of alloy-editor, and which browser / OS are affected by this issue? Did this work in previous versions?
IE11 only, all versions of alloy-editor. Unknown if it worked in previous versions.
The text was updated successfully, but these errors were encountered: