GithubHelp home page GithubHelp logo

Comments (17)

gromo avatar gromo commented on July 20, 2024

Привет. А можешь прислать скриншот как он выглядит? У меня нет 10-ки, я сижу на 8.1 с ИЕ 11

from jquery.scrollbar.

Evangeline-Rei avatar Evangeline-Rei commented on July 20, 2024

Вот скриншот
http://pic.fullrest.ru/upl/EjE3SRrx.png

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

Спасибо, буду исправлять

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

Нашёл причину - это из-за 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.

morrow95 avatar morrow95 commented on July 20, 2024

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.

gromo avatar gromo commented on July 20, 2024

@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.

gromo avatar gromo commented on July 20, 2024

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.

Evangeline-Rei avatar Evangeline-Rei commented on July 20, 2024

Эдж вправился, а хром наоборот, сломался. Скрипт стал ставить маргины -17px соразмерные скроллу.

Впринципе, если закомментить скрывалку скролла в вебките, то всё становится нормально уже везде.
.scroll-content::-webkit-scrollbar {
height: 0;
width: 0;
}

Весь вопрос в том: есть ли смысл в сокрытии скроллбара на вебките путем цсса в таком случае?

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

Привет. Смысл быть просто обязан! :)
Я проверяю в хроме тут: http://gromo.github.io/jquery.scrollbar/, и у меня всё работает норм

from jquery.scrollbar.

Evangeline-Rei avatar Evangeline-Rei commented on July 20, 2024

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.

gromo avatar gromo commented on July 20, 2024

Ок, буду править.

@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.

morrow95 avatar morrow95 commented on July 20, 2024

@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.

gromo avatar gromo commented on July 20, 2024

@morrow95
Good idea, thanks.

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

@morrow95
Changelog is added

from jquery.scrollbar.

patrickkettner avatar patrickkettner commented on July 20, 2024

@gromo - were there any other issues keeping this open?

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

@patrickkettner nope, just forgot to close

from jquery.scrollbar.

patrickkettner avatar patrickkettner commented on July 20, 2024

👍

from jquery.scrollbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.