-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Auto scrolling a fixed positioned container doesn't work in IE11 #1088
Comments
This is the line being triggered: invariant(
state.isWindowScrollAllowed,
'Window scrolling is currently not supported for fixed lists. Aborting drag',
); |
I am not sure why this is being triggered only in ie11 |
It also looks like it is only triggered on the first drag. After that it is not hit.. |
Wow quick work! Thank you @alexreardon |
@alexreardon This issue is still present in the latest version.
^ this line doesn't work, since in IE11, the |
Can you please check |
Let me know @JakubSimandl |
Bug or feature request?
Bug
Expected behavior
Dragging an item to the edge of a fixed container should scroll the fixed container in IE11.
Actual behavior
In IE11, as soon as the browser starts to scroll the fixed area, a console error is raised and the drag is cancelled. The error is:
Steps to reproduce
The behavior is visible on the story book: https://react-beautiful-dnd.netlify.com/?selectedKind=fixed%20list&selectedStory=with%20fixed%20sidebar&full=0&addons=0&stories=1&panelRight=0
Open the above link in IE11.
On the fixed container, drag and drop an item to the upper or lower edge of the screen.
The drag will cancel. An error will appear in the console:
(You have to be in dev mode to see the full error)
What version of
React
are you using?16.7.0
What version of
react-beautiful-dnd
are you running?10.0.4
What browser are you using?
IE11
Demo
It is reproducible on the story book site linked in "Steps to reproduce"
The text was updated successfully, but these errors were encountered: