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(demo popover): for bootstrap 4 popovers with triggers: 'focus' flickers in time of second click at Safari #3314

Closed
YevheniiaMazur opened this issue Dec 18, 2017 · 3 comments

Comments

@YevheniiaMazur
Copy link

YevheniiaMazur commented Dec 18, 2017

Bug description:

  • Open ngx-bootstrap demo at Safari browser
  • Open Popover demo page and click on Bootstrap 4 button in top of left side navigation menu
  • Choose example with popovers, that used triggers: 'focus' (Dismiss on next click or Configuring defaults examples)

Expected result:

Popovers with triggers: 'focus' shouldn't react on second click

popoverflickerissue

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: all supported

Angular: all supported

Bootstrap: 4

@YevheniiaMazur YevheniiaMazur changed the title fix(demo popovers): for bootstrap 4 popovers with triggers: 'focus' flickers in time of second click fix(demo popovers): for bootstrap 4 popovers with triggers: 'focus' flickers in time of second click at Safari Jan 15, 2018
@YevheniiaMazur YevheniiaMazur changed the title fix(demo popovers): for bootstrap 4 popovers with triggers: 'focus' flickers in time of second click at Safari fix(demo popover): for bootstrap 4 popovers with triggers: 'focus' flickers in time of second click at Safari Jan 17, 2018
@artolshansky
Copy link
Contributor

Not actual in current version or in my laptop

Checked at Macbook Pro (mid 2012), Safari version 11.0.2, issue stops reproducing.

@YevheniiaMazur
Copy link
Author

@olshansky, at Macbook Air (2017) with macOS v10.13.11, Safari v11.0.3 (and, also I rechecked this issue before updating, at Safari 11.0.2) this issue still reproducing. Trigger focus still don't work, as it expected

@aldus25
Copy link

aldus25 commented Oct 18, 2018

Hey folks, I solved this issue using fastclick.js library. It seems that IOS delays the execution of click events 300ms. Hope it works for you too!

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

5 participants