Comments (17)
Привет. А можешь прислать скриншот как он выглядит? У меня нет 10-ки, я сижу на 8.1 с ИЕ 11
from jquery.scrollbar.
Вот скриншот
http://pic.fullrest.ru/upl/EjE3SRrx.png
from jquery.scrollbar.
Спасибо, буду исправлять
from jquery.scrollbar.
Нашёл причину - это из-за UserAgent-а: в новой версии ишака они косят под все браузеры сразу:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240
, поэтому плагин думает, что это вебкит и обнуляет отступы, которые служат для сокрытия скроллбара. П*****сы.
Придётся искать другое решение для корректного детектирования браузеров.
from jquery.scrollbar.
Just noticed the same thing when on a fresh upgrade to Win 10... scrollbars not displaying correctly in the new Edge browser.
Any word / updates on this?
from jquery.scrollbar.
@morrow95
Edge browser developers are "smart": they lie about their browser - they use Apple Safari user agent instead of their own. I will fix it today-tomorrow
from jquery.scrollbar.
Wow, do you know that MS Edge browser not only lie in UserAgent, but also has same properties as real Webkit-based browser? I cannot use feature-based browser detection, so still use UserAgent, but filter Edge browser. Please, download updated version from site or beta version from git and re-check
from jquery.scrollbar.
Эдж вправился, а хром наоборот, сломался. Скрипт стал ставить маргины -17px соразмерные скроллу.
Впринципе, если закомментить скрывалку скролла в вебките, то всё становится нормально уже везде.
.scroll-content::-webkit-scrollbar {
height: 0;
width: 0;
}
Весь вопрос в том: есть ли смысл в сокрытии скроллбара на вебките путем цсса в таком случае?
from jquery.scrollbar.
Привет. Смысл быть просто обязан! :)
Я проверяю в хроме тут: http://gromo.github.io/jquery.scrollbar/, и у меня всё работает норм
from jquery.scrollbar.
http://gromo.github.io/jquery.scrollbar/demo/basic.html Точно. Здесь всё работает как надо. Я просто сунулся проверить на бете 0.3.0 https://github.com/gromo/jquery.scrollbar/blob/master/jquery.scrollbar.js, с этим скриптом не работает.
from jquery.scrollbar.
Ок, буду править.
@morrow95
I have fixed custom scroll in version 0.2.8, which you can download from demo page. Beta 0.3.0 is not stable and not fixed yet.
from jquery.scrollbar.
@gromo
Working fine... thanks for the quick fix! Any chance for a changelog page here on GitHub so we know what has been changed with this version? I only mention because I tend to usually download from there.
Thanks again!
from jquery.scrollbar.
@morrow95
Good idea, thanks.
from jquery.scrollbar.
@morrow95
Changelog is added
from jquery.scrollbar.
@gromo - were there any other issues keeping this open?
from jquery.scrollbar.
@patrickkettner nope, just forgot to close
from jquery.scrollbar.
👍
from jquery.scrollbar.
Related Issues (20)
- jQuery Maximum call stack size exceeded HOT 1
- Disable jquery scrollbar for iOS? HOT 2
- vertical scrolling stuck when the scrollbar-content is forced shifted HOT 3
- prohibit the scroll bar scroll HOT 1
- Not working in Firefox 57 HOT 2
- How to destroy this plugin HOT 1
- scroll-bar drag and drop support on touch device HOT 5
- Invalid regular expression: /(^|\.)scrollbar_2(\.|$)/ HOT 3
- Ignore webkit/blink browsers HOT 2
- archive project / search for maintainers HOT 5
- Как перейти сразу в конец блока? ("go to end" button) HOT 1
- scrollbar not working with latest version of jquery 3.3.1 HOT 2
- Scrollbar not initialized on touchpad devices HOT 4
- backward scroll not working oninit HOT 1
- How do I scroll to an id of an element? HOT 2
- I am seeing two scrollbars in (Responsive Mode in Firefox)
- scrollbar is jumping to beginning after click elem select HOT 2
- ght range error $.ajax HOT 4
- Firefox , IE and Edge native scrollbar HOT 1
- OnScroll event firing before initialize
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.scrollbar.