#1116·moveable

Element guidelines doesn't use querySelectorAll

Author: Liri-s29Created Jun 3, 2024Updated Jan 22, 2026

Environments

  • Framework name: React
  • Framework version: ^18.0.0
  • Moveable Component version: ^0.56.0
  • Testable Address(optional): -

Description

When I pass in a selector in the elementGuidelines prop, it doesn't create guidelines for all the elements with that selector but only the first element.

PFB the video for reference: https://github.com/daybrush/moveable/assets/75246431/8d08973e-8012-4fce-a31f-d997ea2a6d15

Screenshot 2024-06-03 at 7 25 31 PM Screenshot 2024-06-03 at 7 29 33 PM