unify / unify

Unify Project
http://www.unifyjs.com
Other
152 stars 16 forks source link

Overlay follows trigger movement #63

Closed dominikg closed 12 years ago

dominikg commented 12 years ago

a button that triggers an overlay may change it's position while the overlay is visible (e.g. due to an orientation change of the display, newly added content etc.)

If the overlay has a configured relative position to it's trigger, it should maintain this position even when the triger moves.

This pull request does just that by listening to the triggers move event while Overlay is visible

fastner commented 12 years ago

Trigger resize is not handled.