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

Client-side text selection cannot be initialised in GridPro #275

Open
vaadin-miki opened this issue Feb 23, 2021 · 0 comments
Open

Client-side text selection cannot be initialised in GridPro #275

vaadin-miki opened this issue Feb 23, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@vaadin-miki
Copy link
Owner

Text selection setup takes place onAttach, however in case of GridPro the component is not fully available and thus cannot be properly configured.

More specifically, in text-selection-mixin.js, inside listenToEvents(), webComponent.inputElement evaluates to undefined. Since the component is not visible anywhere, server-initiated refreshing has no effect.

This problem was worked around in #274 (and to a smaller degree it is present in #243 - but server refresh seems to work in Grid).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant