ExsyDev
ExsyDev
@eddiemf what I need to do? Can you please give a example. I detect mobile device by screen size, if screen size > 768 then this is not mobile device....
@eddiemf Nice) Thanks very much. And then I can use on resize event this variable? Something like this: window.addEventListener('resize', function() { this.affixIsEnabled = this.isMobile(); });
I founded a bug. When on resize I scroll to bottom end, vue-affix send my sidebar to up. Why? See please fiddle: https://jsfiddle.net/jbptv2he/
@eddiemf check please: https://jsfiddle.net/k2e1g80o/ scroll to bottom, and you Can see, that when you scrolling to end, sidebar is up
@eddiemf I tried `computed` property instead of `methods`, not working :( https://jsfiddle.net/k2e1g80o/1/
@eddiemf you 're removed `affixEnabled`. Why? How then I can disable plugin?
@eddiemf I do it, but does not matter is not working :( https://jsfiddle.net/k2e1g80o/2/ Why?
@eddiemf I tried you example and when I add `isMobile` to `affixEnabled` - not working, I have same bug. Please check it.
@iwasherefirst2 no. When I remove this middleware: ->middleware(['localize', 'localeCookieRedirect', 'localizationRedirect', 'localeViewPath']) all working good.
Please add this function on the future. Thanks!