Skip to content

Add iOS hack to tooltips - #22481

Merged
patrickhlauke merged 1 commit into
twbs:v4-devfrom
patrickhlauke:v4-dev-tooltip-ios-fix1
Apr 20, 2017
Merged

patrickhlauke merged 1 commit into
twbs:v4-devfrom
patrickhlauke:v4-dev-tooltip-ios-fix1

Conversation

@patrickhlauke

@patrickhlauke patrickhlauke commented Apr 20, 2017 •

Copy link
Copy Markdown
Member

Same hack as in #22426 (modulo the selector, which is wrong in that PR and will be updated in a separate PR) to get tooltips to work correctly on iOS. Dynamically adds/removes empty (noop) mouseover event handlers to all children of <body> in order to coax iOS into proper event delegation/bubbling

Closes #16028

@patrickhlauke patrickhlauke added js JavaScript or TypeScript sources and plugins v4 v4, the frozen docs on gh-pages labels Apr 20, 2017
@patrickhlauke patrickhlauke added this to the v4.0.0-beta milestone Apr 20, 2017
@patrickhlauke

Copy link
Copy Markdown
Member Author

/cc @mdo @fat for info

@patrickhlauke
patrickhlauke merged commit ef099ad into twbs:v4-dev Apr 20, 2017
@mdo mdo mentioned this pull request Apr 20, 2017
@patrickhlauke

Copy link
Copy Markdown
Member Author

urgh, and because my build system is broken, i completely missed that this was from an earlier version and needs tweaking. apologies for the second tweak today...once i can build and test properly again, it won't happen :(

simonihmig added a commit to ember-bootstrap/ember-bootstrap that referenced this pull request Jan 19, 2018
Applies the same workaround for events in iOS as in the original bootstrap.js, see twbs/bootstrap#22481
@AdrianHL

Copy link
Copy Markdown

Could this fix/hack be migrated to v3 branch? Thanks in advance.

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

Labels

js JavaScript or TypeScript sources and plugins v4 v4, the frozen docs on gh-pages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants