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

fix(ui5-combobox): Autocomplete on Safari #3999

Merged
merged 5 commits into from
Oct 19, 2021
Merged

Conversation

d3xter666
Copy link
Contributor

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting, we need to duplicate the highlight functionality onAfterRendering

Fixes: #3680

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering
Copy link
Member

@MapTo0 MapTo0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still works a bit weird on Safari. Fast typing users will struggle with the autocompletion. In general, looks better than before but not perfect. We can discuss this on a meeting and see if we can do anything else here.

@d3xter666
Copy link
Contributor Author

Unfortunately, it's not the perfect solution, but to be honest, I do not forsee any better implementation. Safari (the new IE :D ) is quite slow and re-rendering of a component is obvious for the end-user.

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering
@d3xter666 d3xter666 requested a review from MapTo0 September 27, 2021 13:15
@ndeshev
Copy link
Contributor

ndeshev commented Oct 1, 2021

In chrome, when there is an autocompleted value for example if the user has entered a "Argen" and the value is autocompleted the word there is a following strange "tina" announcement of the autocompleted text.

@ndeshev ndeshev requested review from niyap and removed request for niyap October 4, 2021 05:39
Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering
@d3xter666 d3xter666 merged commit 2ee4feb into master Oct 19, 2021
@d3xter666 d3xter666 deleted the autocomplete-safari branch October 19, 2021 12:02
Todor-ads pushed a commit that referenced this pull request Oct 28, 2021
* fix(ui5-combobox): Autocomplete on Safari

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering

* fix(ui5-combobox): Autocomplete on Safari

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering

* fix(ui5-combobox): Autocomplete on Safari

Safari losses input's text highlighting after invalidation of the ComboBox web component.
In order to restore the highlighting we need to duplicate the highligh functionality onAfterRendering
Todor-ads added a commit that referenced this pull request Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Safari] ComboBox: autocompletion does not work correctly
3 participants