Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites
Existing issue #13538
Description
Upon clicking a blocklist item the editor alignment does not properly align to the right and can be seen to jump about towards the left.
This is jumping bacause the editor class has
transition: transform 400ms ease-in-out
and it also runs its inputs within the editor through an auto focus$timeout
function immediately. This focuses the input before its in the viewport causing the editor to jump into view and causes an issue with the left positioning.There are few ways to fix this but in its simpliest form is setting an editor within the
umb-editors
toposition: fixed
Tested by checking various editors in many different sequences and tested on Chrome and Firefox all seems to be working correctly.
There is still a slight issue with the transition on the second drawer editor (as seen in GIF) but I believe thats a different issue.
How to test