Skip to content

Conversation

@kevin-brown
Copy link
Member

This allows for more accurate resolution of the width when compared
to the resolve method. This is more relevant for jQuery 1.x, where
the resolve method cannot find the width of a hidden select box,
but it also applies to newer versions of jQuery where the width()
method provided by jQuery doesn't fully match getComputedStyle().

Fixes #3278
Fixes #5502
Closes #5259

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • Added computedstyle option
  • Added tests to make sure that it works across all jQuery versions

This allows for more accurate resolution of the width when compared
to the `resolve` method. This is more relevant for jQuery 1.x, where
the `resolve` method cannot find the width of a hidden select box,
but it also applies to newer versions of jQuery where the `width()`
method provided by jQuery doesn't fully match `getComputedStyle()`.

Fixes #3278
Fixes #5502
Closes #5259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with responsive width

3 participants