Comments (9)
Hi Thomas, just checking to see if you have had time to look into the issue I mentioned above?
from jquery-scroll.
Hi Brian,
I checked your page gp.me3design.com regarding this tooltip problem.
Actually there are two issues:
First, it was not possible to meassure the content hight, as your tooltip content contains textnodes with break-tags. I fixed this with a workaround for now.
Second, the scrollbar-plugin must be called after the tooltip is shown. For this, I did a little proof of concept and put it on heroku ( http://gp-scroll.heroku.com - just temporarily, I will remove it later). See also some comments in the gist https://gist.github.com/902680 . Currently I'm not sure if it is really necessary. I'll keep investigating it.
I hope this helps for now.
Thanks for pointing to these bugs.
Regards,
Thomas
from jquery-scroll.
Hi Brian,
I just noticed that there is a bug in the scroll-plugin causing increasing nested elements within the tooltip. I'm going to fix this...
Regards, Thomas
from jquery-scroll.
Hi Thomas,
Thanks a lot for looking into this issue. Looks like it's very close to being fixed. All in all it's working now thanks to all your mods, but the bug causing the increasing nested divs is an issue. Let me know when you get around to addressing it...
Best, Brian
from jquery-scroll.
Hi Thomas,
I really appreciate that you took the time to look into this issue. I got it wired up on the dev site: http://gp.me3design.com and it does work, but I'm concerned that every time the tooltip is called another hidden nested div is created to measure the contentHeight. I can see in the js that you have an alternative clone method that may or may not work. I did try un-commenting the clone method but it breaks the layout and doesn't work as written.
Would it be possible to add a contentHeight 'auto' or 'number' to the options to set content height explicitly? That way one could hard code the height and eliminate the calculations required to find the height. More of an issue in hidden elements.
I wish I new more about javascript so I could offer some legitimate help. Thanks again for looking at it.
Best, Brian
from jquery-scroll.
Hi Thomas,
Have you had time to look into the nested div issue?
from jquery-scroll.
Hi, sorry for my late response.
The nested div issue should be fixed. Could you please test?
from jquery-scroll.
Hi Thomas,
Thanks for all your work on this js. I have uploaded the new code on the dev site and the issue is fixed. Woohoo!
from jquery-scroll.
Thanks for testing. I'm glad your issue is fixed.
from jquery-scroll.
Related Issues (20)
- reset scroll settings on resize HOT 1
- scrollbar("scrollto") should be a getter
- Fix for IE7: Under certain circumstances, measurement of content height fails HOT 1
- MouseWheel Scroll speed HOT 2
- Help getting repaint to work on ajax added content HOT 5
- Images
- Mousewheel not working
- Set Scrollbar Height HOT 2
- Mobile HOT 11
- Flat out does not work in Firefox
- how to trigger event on scroll end or infinite scroll implementation
- no horizontal scrolling
- Problem with handle container
- Exception on scrollbar('scrollto', 'bottom')
- Problem with overflow(?) scrolling + lightbox HOT 2
- Programmatic Positioning HOT 4
- recreate HOT 6
- Slow mousewheel scrolling HOT 2
- iphone HOT 3
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 jquery-scroll.