Ticket #7740 (closed enhancement: notabug)

Opened 20 months ago

Last modified 20 months ago

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:
Blocking: Blocked by:

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!

Change History

comment:1 Changed 20 months ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

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

comment:2 Changed 20 months ago by aidanfeldman

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.

Last edited 20 months ago by aidanfeldman (previous) (diff)
Note: See TracTickets for help on using tickets.