Skip to content

Conversation

@Kurtil
Copy link
Member

@Kurtil Kurtil commented Oct 15, 2025

This changes prevent storey change from js to trigger the event.
Because:

  • the StoreySelector component must react to the event to change the displayed selected storey (but not trigger the event)
  • trigger the event ONLY if the storey is changed from the UI.

@Kurtil Kurtil requested a review from NicolasRichel October 15, 2025 12:02
@Kurtil Kurtil self-assigned this Oct 15, 2025
@Kurtil Kurtil added the bug Something isn't working label Oct 15, 2025
@Kurtil Kurtil merged commit c1172cf into main Oct 15, 2025
1 check passed
@Kurtil Kurtil deleted the Fix/selectStoreyLogic branch October 15, 2025 12:11
github-actions bot pushed a commit that referenced this pull request Oct 15, 2025
## [1.7.11](v1.7.10...v1.7.11) (2025-10-15)

### PATCH

* StoreySelector emits "storey-selected" event only from UI click (#27) ([c1172cf](c1172cf)), closes [#27](#27) [#28](#28)
@Bimdata-io
Copy link

🎉 This PR is included in version 1.7.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants