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

docs: fix Toast sample for IE #1799

Merged
merged 1 commit into from
Jun 15, 2020
Merged

docs: fix Toast sample for IE #1799

merged 1 commit into from
Jun 15, 2020

Conversation

ilhan007
Copy link
Member

The statement "document.querySelectorAll("ui5-button").foeEach" used to throw an error, now it should not. (In addition make the code the users see es6).

FIXES: #1794

@ilhan007 ilhan007 merged commit 0b9272b into master Jun 15, 2020
@ilhan007 ilhan007 deleted the fix-toast-sample branch June 15, 2020 12:12
ilhan007 added a commit that referenced this pull request Jun 15, 2020
ilhan007 added a commit that referenced this pull request Jun 15, 2020
ilhan007 added a commit that referenced this pull request Jun 15, 2020
The usage of pseudo elements such as ::after, ::before has side effects on iOs/macOS making the first click to just focus the element and the second to be registered as click. Now, we set the focus with outline, instead of pseudo element. Note: in IE, the focus will be 1px wider on all sides, compared to Safari, Chrome and FF as the outline-offset is not supported.

FIXES: #1796
ilhan007 added a commit that referenced this pull request Jun 15, 2020
The usage of pseudo elements such as ::after, ::before has side effects on iOs/macOS making the first click to just focus the element and the second to be registered as click. Now, we set the focus with outline, instead of pseudo element. Note: in IE, the focus will be 1px wider on all sides, compared to Safari, Chrome and FF as the outline-offset is not supported.

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

Successfully merging this pull request may close these issues.

[BUG] ui5-toast can not work on IE11
3 participants