Skip to content
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

ext-edit respectively focus handling: Internet Explorer scrolls briefly to the top/left of the tree container element after editing a node title if the tree container is partially outside the viewport #921

Closed
ewya opened this issue Dec 13, 2018 · 1 comment

Comments

@ewya
Copy link
Contributor

ewya commented Dec 13, 2018

Internet Explorer sometimes (e.g. after editing a node title) scrolls briefly to the top/left of the tree container element if the tree container is partially outside the viewport and then to the node that should actually be focussed.

The reason for this seems to be the short-term focus on the tree container (in nodeSetFocus and ext-edit editEnd).

I think, the focus on the tree container should only be set if we Tab to the container or a previously focused node can't be focused again after a tree operation (e.g. a focused node has been deleted).

@mar10 mar10 added the ext-edit label Dec 19, 2018
mar10 pushed a commit that referenced this issue May 12, 2019
…y (Issue: #921) (#923)

* Optimize focus-handling: Only set focus on tree container if necessary
- prettier

* Update CHANGELOG.md
@mar10
Copy link
Owner

mar10 commented May 12, 2019

Thank you :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants