Skip to content

Locked widgets cannot be moved by the user #1767

@ztessema

Description

@ztessema

Subject of the issue

Locked widget cannot be moved by the user

Your environment

gridstack.js v4.2.3, HTML5
Chrome, Windows 10

Steps to reproduce

Widget is locked by using the 'locked' property on the gridstackNode:
widget.gridstackNode.locked = true;

Expected behavior

The widget shouldn't be able to be moved due to another widgets being dragged or resized.
The widget can still be dragged or resized by the user.

Actual behavior

The widget shouldn't be able to be moved due to another widgets being dragged or resized.
The widget cannot still be dragged or resized by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions