Opened 10 months ago

Closed 10 months ago

Last modified 9 months ago

#14978 closed bug (fixed)

Dialog with buttons gets smaller every time it is dragged in Chrome 51

Reported by: Spetnik Owned by:
Priority: blocker Milestone: 1.12.0
Component: ui.dialog Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:

Description

Using Google Chrome Version 51.0.2704.63 m (64-bit) with jQuery 2.2.4 and jQuery UI 1.11.4

See https://jsfiddle.net/spetnik/4w4fadws/ - every time the dialog is dragged, the height is reduced by one pixel. Interestingly enough, this fiddle was an (unsuccessful) attempt to reproduce the behavior in my application where the width is reduced by one pixel every time the dialog is dragged.

Change History (4)

comment:1 Changed 10 months ago by scottgonzalez

  • Milestone changed from none to 1.12.0
  • Priority changed from minor to blocker
  • Status changed from new to open

This was introduced with Chrome 51 :-(

comment:2 Changed 10 months ago by scottgonzalez

Interestingly, this bug doesn't exist if you load the JS in the body: https://jsfiddle.net/4w4fadws/2/

comment:3 Changed 10 months ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from open to closed

This works properly in the 1.12.0 pre-releases. My guess is that it was fixed by https://github.com/jquery/jquery-ui/commit/0ff7a1653407d2a91cff721528a0a435dbf12503.

comment:4 Changed 9 months ago by scottgonzalez

This was actually fixed by c770605db05347edfa9c6224aebd42974092ed22

Note: See TracTickets for help on using tickets.