Closed k911 closed 6 years ago
@FieryCod
I know, but this one could be optimized as well. WIP = Work in progress. About v-prevent-parent-scroll
directive I've tried and failed, because passive event cannot use e.preventDefault()
because it is passive.. :) so for above warning I'm afraid there's no solution.
Taking the work in behalf of @k911 .
@k911 As I said it's not a problem of fixedTop. It's a problem of v-prevent-scroll.
Here is the prove:
When job-offers-widget is rendered then the warning occurs:
When job-offers-widget is not rendered then warning does not occur:
To conclude: There is no problem with fixedTop. There is a problem with job-offers-widget which uses v-prevent-parent-scroll. Check my comment above. Your change does only this that fixedTop flickers.
Please close the PR and create a new one which does not change fixedTop but v-prevent-parent-scroll