Bug Tracker

Modify

Ticket #11592 (closed bug: cantfix)

Opened 13 months ago

Last modified 13 months ago

really weird opera bug with .find

Reported by: jacob@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 13 months ago by sindresorhus

Maybe it's missing a semicolon?

comment:2 Changed 13 months ago by miketaylr

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

comment:3 Changed 13 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to cantfix

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.