Skip to main content

Bug Tracker

Side navigation

#11592 closed bug (cantfix)

Opened April 15, 2012 06:31AM UTC

Closed May 05, 2012 04:38PM UTC

really weird opera bug with .find

Reported by: jacob@twitter.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

This is a really strange one - didn't look into it too much.

In bootstrap we had code which looked like:

$body.find(selector)

this was called when a scroll encountered a particular place in the page.

In opera 11, if you were scrolling (by holding onto the scrollbar), when you got to a target the scroll would stop.

here's a bootstrap issue explaining the problem further:

https://github.com/twitter/bootstrap/issues/1776

you can reproduce the bug (currently in 2.0.2) by trying the dropdown example here: http://twitter.github.com/bootstrap/javascript.html#dropdown

for whatever reason - replacing $body.find(selector) with $(selector) fixes this problem.

Attachments (0)
Change History (3)

Changed April 16, 2012 04:32PM UTC by sindresorhus comment:1

Maybe it's missing a semicolon?

Changed April 16, 2012 08:46PM UTC by miketaylr comment:2

That's weird. I've filed DSK-361517 internally.

Changed May 05, 2012 04:38PM UTC by dmethvin comment:3

resolution: → cantfix
status: newclosed

From the bootstrap ticket it sounds like Opera has fixed this already, so we won't attempt a patch.