position breaks in chrome
Reported by: | jogep | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.position | Version: | 1.8.5 |
Keywords: | position chrome | Cc: | |
Blocking: | Blocked by: |
Description ΒΆ
i try to refactor the ui.spinner. for this i want to use the position function to place the spinner buttons at the right side of the input element.
wrapper.position({ of: this.element, my: 'left center', at: 'right center', offset: '0 0', collision: 'flip flip' });
This works fine with firefox and IE but in Chrome it breaks the buttons on a new line.
You can try it out with the example page.
Change History
comment:1 Changed 4 years ago by scott.gonzalez
- Status changed from new to closed
- Resolution set to duplicate
comment:2 Changed 23 months ago by scott.gonzalez
- Milestone changed from 1.next to 1.9.0
------------------------------------------------------------------------------------------------------------------------------------
This is likely a duplicate of #5533. There's a bug in jQuery core that requires the top and left values to be set to something other than auto in order for .position() to work. This has already been fixed in core and will be released with 1.4.3.