Bug Tracker

Opened 7 years ago

Closed 7 years ago

#11592 closed bug (cantfix)

really weird opera bug with .find

Reported by: jacob@… 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.

Change History (3)

comment:1 Changed 7 years ago by sindresorhus

Maybe it's missing a semicolon?

comment:2 Changed 7 years ago by miketaylr

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

comment:3 Changed 7 years ago by dmethvin

Resolution: cantfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.