Giter Site home page Giter Site logo

Comments (8)

vitch avatar vitch commented on June 3, 2024

I'm interested as to why I don't see this problem in my demo pages in any of the browsers I tested in.
I think that the true solution will require also rounding the position that the drag is moved to (as that can also currently be a decimal).

from jscrollpane.

peredozo avatar peredozo commented on June 3, 2024

operate with box and content height in demo pages for see this problem.

from jscrollpane.

vitch avatar vitch commented on June 3, 2024

Sorry, I don't understand. Can you clarify?

from jscrollpane.

peredozo avatar peredozo commented on June 3, 2024

Sorry, my bad english.

I don't see this problem in my demo pages

... I see this problem in
http://jscrollpane.kelvinluck.com/basic.html

in Opera browser

for more visible:

.jspDrag { 
background-color: #111111;
}

.jspTrack { 
background-color: #ff0000;
}

no 1px on end in vertical and horizontal drag.

from jscrollpane.

vitch avatar vitch commented on June 3, 2024

I don't see the problem on that page. However, I can see it on: http://jscrollpane.kelvinluck.com/arrows.html in Opera. Firefox seems to deal with it fine but Webkit based browsers are also showing the gap...

from jscrollpane.

peredozo avatar peredozo commented on June 3, 2024

pixel can not be floating. is pixel. it can only be a rounded number. should be rounded to the script.

p.s. translated by google. ))

from jscrollpane.

qq99 avatar qq99 commented on June 3, 2024

agreed, leaving a pixel measurement as a floating point is just a recipe for headache

from jscrollpane.

vitch avatar vitch commented on June 3, 2024

Fixed in 034c8bf

from jscrollpane.

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.