Dave M
Dave M

Reputation: 91

Vue.js 2/Vuex - Scrollbar just breaks for some reason

Got a strange issue that i've not been able to easily replicate whilst building an app on vue.js 2 and vuex.

I've got a table where i can add and remove rows. The rows coming from the Vuex state and i've been commiting and mutating the state in the usual way and it's working great.

However, sometimes the window scrollbar just breaks and stops working so can't scroll up/down (or has the app hung?!). If I refresh the page, everything works again.

I get no errors and Vue dev tools doesn't report anything weird.

I also get the same issue in other browsers, thinking it might have something to do with Vue Tools (just to rule it out).

Be great to get any ideas on what the problem could be - if its a conflict with another library/package, memory leaking causing it to freeze/hang etc. Thanks in advance.

These are my package.json dev/dependancies:

devDependencies:

Dependencies:

Upvotes: 5

Views: 2542

Answers (1)

Dave M
Dave M

Reputation: 91

I managed to figure out the issue. Was an issue with using vue-strap spinner within a modal window and a rogue 'overflow-y:hidden' wasn't being removed on completion of that task causing the 'disabled' scroll.

Upvotes: 4

Related Questions