Closed vaadin-bot closed 6 years ago
Originally by @Ansku
Attachment added: misalignment.png
(56.0 KiB)
https://trac-attachments.vaadin.com/trac/18506/misalignment.png
Originally by @thinwire
Checking this out, but can't promise anything, since I remember this being caused by intrinsic browser behavior. Might require some redesign or respecification.
Originally by @thinwire
Move to proper account
Hello there!
It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.
There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!
Fixed in 7.7.14
What if I was faced with this in v8?
Yes, I was actually able to reproduce the issue with Vaadin 8 as well,
I added fix in my Editor alignment bug fixes hot fix collection -> https://vaadin.com/directory/component/grideditorcolumnfix-add-on
Why these bugs are not fixed in vaadin instead of addon?
@TatuLund save and close buttons are still misalignment.
@TatuLund This addon didn't fix editor misalignment. vaadin 8.6.4 I am clicking on the right side of the grid.
@AlexByte did you use v0.3.1 of the add-on?
save and close buttons are still misalignment.
Yes, I noticed that, the styles are quite wonkty for that part, I did not yet figure out by quick look how to fix that.
@TatuLund yes, i try 0.3.1. The problem occurs when you click on the right edge of the table when not all columns fit on the screen.
Originally by @Ansku
Steps to reproduce:
The area with save and cancel button will shift also, but stay in same position in relation to the editor cells that they would be if the editor cells weren't shifted too much -> the whole area ends up too far left (with some Grid contents to the point of not being visible at all), and there's no background colour on the leftover bit which leaves the Grid row underneath to show through.
If you scroll the grid to the point where the editor and main Grid are again in alignment, editor contents will stay where they are supposed to say for any further scrolling from there on -- until you repeat the original steps again.
This far I have only been able to reproduce this when scrolling to right, double-clicking partially visible cells on the left edge and scrolling a bit more left from there to double-click again doesn't seem to have the same results.
Tested with Chrome 43 on Windows 7, in branches 7.5 and master, and also in a separate project with 7.5.2.
IE11 in master branch already has misalignment with first double-click, and I couldn't reproduce this at all on brief testing with Firefox 39.
Imported from https://dev.vaadin.com/ issue #18506