Comments (8)
Hello, please try with v2.3.0 on dev branch.
from tooltipster.
Yes, it works with v2.3.0
Thanks for a great plugin, and the quick response.
from tooltipster.
The tooltip only closes the first time. When I open a second tooltip, tapping outside the tooltip doesn't close it. I wonder if this line
$('body').one('touchstart.tooltipster', function(event) {
should be
$('body').on('touchstart.tooltipster', function(event) {
from tooltipster.
@willkoehler : in Tooltipster v2.3.0 ?
from tooltipster.
Yes v2.3.0. I download the dev branch head yesterday and tested with that. I can look into it more on my end if you can't reproduce.
I also would like clicking outside the tooltip to close the tooltip on desktop browsers. This is what I'm doing currently to make that happen:
click_event = if is_touch_device() then 'touchstart' else 'click'
$('.tooltip').tooltipster
theme: '.tooltipster-filtered-grid'
trigger: 'click'
delay: 0
speed: 0
position: 'bottom'
# Hide tooltip when clicking/tapping anywhere on the page
functionReady: (origin, tooltip) -> $('body').one click_event, => $(origin).tooltipster('hide')
from tooltipster.
If you're not going to use tooltipster's default click trigger system, use 'custom' and open the tooltip on click yourself.
By the way, what you're trying to accomplish will be the default behavior for 'click' trigger in the next release probably.
from tooltipster.
Great. Thanks for the tip.
from tooltipster.
@willkoehler : you should checkout v3.0.0 on dev :) Updated doc is on the gh-pages branch, although we don't advertise it yet. Feedback is welcome.
from tooltipster.
Related Issues (20)
- Mobile devices - tool tip only shows with a double click and quickly closes HOT 7
- bind jquery data table to tooltipster HOT 1
- Delay In and Delay Out HOT 1
- Refresh page add child class to parent in production HOT 1
- Hyperlinks issue
- Scrollbar is outside the tooltip window
- Add options for tooltipster to maintain content in instance of hiding or closing HOT 1
- Interactive Tooltip with delay 0 not working HOT 2
- Possible false positive detection as malicious script by BitDefender?!
- Can't find the right files
- Not able to resize the tooltip properly when resizing the browser window
- How to remove vertical scroll from tooltip ?
- active development
- Downloaded tooltipster did not contain /tooltipster.css HOT 1
- When I put an overflow-х hidden on the body, the tooltipster block starts to move up along with the content creating a parallax effect. How to fix it?
- onlyOne is not working
- CKEditor support or plugin?
- Tooltipped children of tooltipped parents HOT 1
- The tooltip on IOS requires two clicks to open.
- Tooltips collapse en Firefox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tooltipster.