Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Scroll delay in Firefox when scroll direction is immediately changed #121

Open
1 of 8 tasks
bashmish opened this issue Jan 3, 2017 · 1 comment
Open
1 of 8 tasks

Comments

@bashmish
Copy link

bashmish commented Jan 3, 2017

Description

The iron-dropdown element while scrolling in Firefox has a delay when the scroll direction is immediately changed in the bottom (or in the top) of the element. The same is true when you use Polymer.IronDropdownScrollManager for other elements.

Expected outcome

It scrolls smoothly when you scroll it up and down.

Actual outcome

It has a noticable delay and then immediately scrolls.

Live Demo

Unordered list https://www.webcomponents.org/element/PolymerElements/iron-dropdown/demo/demo/index.html or any other scrollable iron-dropdown

Steps to reproduce

  1. Scroll to the bottom.
  2. immediately change the scroll direction and scroll to the top.
  3. Notice the delay and after that the scroll position is somewhere to the top.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Not sure about IE and Edge.

@bashmish bashmish changed the title Scroll delay in Firefox when scroll direction is immedeately changed Scroll delay in Firefox when scroll direction is immediately changed Jan 3, 2017
@valdrinkoshi
Copy link
Member

valdrinkoshi commented Mar 1, 2017

Tested the wheelEvent.preventDefault() technique on FF w/o polymer, and I can still face this issue http://jsbin.com/negelu/1/edit?html,output
Not sure how to fix this... 😕

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants