Search and Top Navigation
#9076 closed bug (fixed)
Opened February 10, 2013 12:31AM UTC
Closed February 12, 2013 01:11PM UTC
Last modified February 12, 2013 01:13PM UTC
position: percentage offset does not support decimal
Reported by: | sheu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.1 |
Component: | ui.position | Version: | 1.9.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
position() calls like:
$("#id2").position({ my: "center center", at: "left+50% top+50.0%", of: $("#id2").parent(), collision: "none", });
don't work properly (see: the "top + 50.0%" part of the "at" attribute). See: http://jsfiddle.net/wPHHa/
Attachments (0)
Change History (5)
Changed February 11, 2013 02:52AM UTC by comment:1
Changed February 12, 2013 02:06AM UTC by comment:2
This seams reasonable.
Here is a pull request if we decide its worth supporting.
Changed February 12, 2013 01:07PM UTC by comment:3
status: | new → open |
---|
Changed February 12, 2013 01:11PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | open → closed |
Position: Handle decimal percentage offsets. Fixes #9076: percentage offset does not support decimal
Changeset: c958b211db2632a02f26e14f57c0862c57870aee
Changed February 12, 2013 01:13PM UTC by comment:5
milestone: | none → 1.10.1 |
---|
Hi sheu,
Thanks for taking the time to contribute to the jQuery UI project.
I'm going to defer to others as to whether this is something that we can and want to support. Here's a reduced version of the test case - http://jsfiddle.net/tj_vantoll/vbBry/.