Skip to content
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

when I use forceFallback:true but it doesn't work with 'scroll-behavior: smooth ' css-style in it's parent #1781

Open
super-zz opened this issue Mar 30, 2020 · 1 comment

Comments

@super-zz
Copy link

super-zz commented Mar 30, 2020

@mgnjatovic-kushim Try setting the option forceFallback:true. HTML native DnD has it's own autoscroll method that doesn't work the same as the implemented autoscroll.

Originally posted by @owen-m1 in #1373 (comment)

In this code
https://jsbin.com/kesewor/edit?html,js,output

add css style

.smaller {
    scroll-behavior: smooth;
}

when it doesn't work..

@super-zz super-zz changed the title @mgnjatovic-kushim Try setting the option forceFallback:true. HTML native DnD has it's own autoscroll method that doesn't work the same as the implemented autoscroll. when I use forceFallback:true but it doesn't work with 'scroll-behavior: smooth ' css-style in it's parent Mar 30, 2020
@owen-m1 owen-m1 added the bug label Apr 4, 2020
@owen-m1
Copy link
Member

owen-m1 commented Apr 4, 2020

Doesn't seem to be solvable, adding to the scrollTop of the element in an interval only adds it once. It must be an issue with Chrome.

@owen-m1 owen-m1 closed this as completed Apr 4, 2020
@owen-m1 owen-m1 reopened this Apr 4, 2020
@owen-m1 owen-m1 added help wanted and removed bug labels Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants