-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Cannot read property 'top' of undefined #5
Comments
please close this issue and see #13 as I've merged/fixed this issue among others and opened a pull request |
check out the latest version. Should have address this issue. |
May be doing something wrong, but I'm still seeing the "top" issue in the latest build.... Can anyone else verify? 👎 |
were all of my changes pulled in @Eonasdan? On Wed, Oct 9, 2013 at 1:07 AM, White Raven Technology <
|
@niftylettuce for the most part. @WhiteRavenTechnology can you post a jsfiddle or a test page or something? |
First time messing with jsfiddle, so sorry if it's not what you're after. This illustrates the problem (kinda) -- the first box works fine (barring some minor css/icon issues). The second example (no icon, activates on focusing on the text box) breaks -- the error is "cannot read property 'top' of undefined" Lemme know if you need anything else! |
@WhiteRavenTechnology check the new minified file I just uploaded. When I tried your example, I did get |
The raw source is working fine for me now, but the minified version gives me this error now: Uncaught TypeError: Cannot read property 'M' of undefined Completely kills the script. Will stick with source, but is anyone else seeing this new error? |
hmmm... I usually let Asp.net minify my js on the fly. I'm sorry you're still having trouble. Have you tired a bare minimum test page to make sure it's not something else? |
It's doing it on the fiddle above, too, and that's just jQuery 1.10.1, bootstrap, and your code. :( |
github doesn't usually allow hot linking. I'm not at a desk right now, I'll have to play with it later and get you going |
Here's a fork of the original fiddle loading the full version and working (mostly) correctly -- a few unrelated CSS issues, but the JS works with the full version, not the minified. No rush on a fix -- I can work with what I've got for now. |
I am also seeing Uncaught TypeError: Cannot read property 'M' of undefined |
Fixed #5 by getting offset and outerHeight
In the current Bootstrap 3 (dev-master) I get an error on the offset.
Code:
The text was updated successfully, but these errors were encountered: