Git Product home page Git Product logo

Comments (7)

julianox avatar julianox commented on July 23, 2024

Hi all,

the problem is .outerHeight()

Since the 1.8.0 update, the outerWidth and outerHeight methods return the children objects and not the width or height of the collection's first element.

Changing to: .outerHeight(true)

This fixes the issue and returns the height including the margin of the slide element.

Cheers,
Juliano

from jquery-minicolors.

ed-lea avatar ed-lea commented on July 23, 2024

Thanks @julianox - worked great.

from jquery-minicolors.

claviska avatar claviska commented on July 23, 2024

Is this still an issue with jQuery 1.8.2? I'm not seeing any positioning issues as-is.

from jquery-minicolors.

petrkalina avatar petrkalina commented on July 23, 2024

yes, it is still an issue (as of 1.8.3) - the outerHeight() as of 1.8+ is usable as a setter as well and when used without the bolean parameter 0 is assumed as the input value and an object is returned (as is jquery convention for setter invocations).

for detailed descriptiuon of the mentioned jq function please refer to the link below. simply put "true" to the relevant invocations and all will be ok :-)

http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/

from jquery-minicolors.

claviska avatar claviska commented on July 23, 2024

Ok, but do you have a minimal test case to demonstrate what's happening. It appears to work fine as-is...I can't replicate the problem.

On Nov 27, 2012, at 10:13 AM, petrkalina [email protected] wrote:

yes, it is still an issue (as of 1.8.3) - the outerHeight() as of 1.8+ is usable as a setter as well and when used without the bolean parameter 0 is assumed as the input value and an object is returned (as is jquery convention for setter invocations).

for detailed descriptiuon of the mentioned jq function please refer to the link below. simply put "true" to the relevant invocations and all will be ok :-)

http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/


Reply to this email directly or view it on GitHub.

from jquery-minicolors.

petrkalina avatar petrkalina commented on July 23, 2024

hello, sorry, I'm buried with work at the moment. it seems to me there has to be some kind of interference with the likes of jqueryui or else, because the problem doesn't occur in your demo page (just validated), while it occurs within my test page, being quite a bit more complex. I'm sorry not to be able to be more specific, however obviously the issue is limited t some specific scenarios. on the other hand adding the boolean parameter does no harm and solves the problem for everyone, so I wonder that might be the optimal course of action..

from jquery-minicolors.

claviska avatar claviska commented on July 23, 2024

The plugin has been completely rewritten, and positioning has been overhauled. Please give the new version a try (not backwards compatible) and feel free to submit a new issue if you notice a problem.

from jquery-minicolors.

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.