Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    issue with the canDrag property for a customized Snapbar

    Hi,

    I am trying to make a customized Snapbar that does not allow dragging, only show/hide.

    I made a subclass of the snapbar in load-skin.js and i set the property canDrag to false. It works only when the snapbar is initially loaded, but after having clicked it to show/hide, then the snapbar becomes draggable again.

    Should i post this as an issue or is there an extra property that needs to be set?

    Thanks in advance.

    Regards,
    Nicole

    #2
    The Snapbar switches its canDrag flag off and the back on because you cannot resize a hidden element. Probably best not to build your control based on Snapbar; a simple StretchImg could use the same media and so appear similar.

    Comment

    Working...
    X