#9076 closed bug (fixed)
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/
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
This seams reasonable.
Here is a pull request if we decide its worth supporting. https://github.com/jquery/jquery-ui/pull/912
comment:3 Changed 11 years ago by
Status: | new → open |
---|
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Position: Handle decimal percentage offsets. Fixes #9076: percentage offset does not support decimal
Changeset: c958b211db2632a02f26e14f57c0862c57870aee
comment:5 Changed 11 years ago by
Milestone: | none → 1.10.1 |
---|
Note: See
TracTickets for help on using
tickets.
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/.