Skip to main content

Search and Top Navigation

#7740 closed enhancement (notabug)

Opened September 26, 2011 08:06PM UTC

Closed September 26, 2011 08:30PM UTC

Last modified September 26, 2011 10:23PM UTC

Position: add method to disable

Reported by: aidanfeldman Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

Unlike the other jQuery UI Interaction plugins, there is no way (that I'm aware of) to disable

position()
functionality after it's been applied. Draggable, for example, has the method
draggable('disable')
. Would be great if this were done in a consistent way across all the plugins.

Thanks!

Attachments (0)
Change History (2)

Changed September 26, 2011 08:30PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

This doesn't make any sense. Position is a utility that has no state; it's not an interaction.

Changed September 26, 2011 10:23PM UTC by aidanfeldman comment:2

_comment0: Ah, I see - it wasn't clear from the demo page {{{position()}}} is a one-time action, rather than working continuously as the default demo makes it seem at first glance. I'd suggest making a note of that, because I doubt I'm the first to be confused by this.1317075809507159

Ah, I see - it wasn't clear from the demo page

position()
is a one-time action, rather than working continuously as the default demo makes it seem at first glance. I'd suggest making a note of that on the demo page, because I doubt I'm the first to be confused by this.