Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag trap for popups #292

Merged
merged 4 commits into from
Sep 26, 2023
Merged

Drag trap for popups #292

merged 4 commits into from
Sep 26, 2023

Conversation

pinussilvestrus
Copy link
Contributor

@pinussilvestrus pinussilvestrus commented Sep 25, 2023

Closes #289

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Sep 25, 2023
src/components/Popup.js Outdated Show resolved Hide resolved
@pinussilvestrus
Copy link
Contributor Author

pinussilvestrus commented Sep 25, 2023

Make it work in Web Modeler (locally) without flickering 🍏

Kapture 2023-09-25 at 15 28 09

Thing to do: fixing failing test cases. Good feeling we can make it until Web Modeler code freeze on Friday.

Niklas Kiefer added 3 commits September 26, 2023 10:11
* Do not bubble up dragstart events
* Do not bubble up dragover events
We need to do this to make sure we track cursor movements before we reach other drag event handlers, e.g. in child containers.

Related to #289
Related to https://github.com/camunda/web-modeler/issues/5892#issuecomment-1733155870
@pinussilvestrus pinussilvestrus changed the title [WIP] Drag trap for popups Drag trap for popups Sep 26, 2023
@pinussilvestrus pinussilvestrus marked this pull request as ready for review September 26, 2023 08:35
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Sep 26, 2023
@pinussilvestrus
Copy link
Contributor Author

@bpmn-io/modeling-dev this is ready for review 👍

src/components/Popup.js Outdated Show resolved Hide resolved
src/components/Popup.js Outdated Show resolved Hide resolved
src/components/Popup.js Outdated Show resolved Hide resolved
@nikku
Copy link
Member

nikku commented Sep 26, 2023

@pinussilvestrus You take care of releasing this?

@fake-join fake-join bot merged commit bdda584 into main Sep 26, 2023
12 checks passed
@fake-join fake-join bot deleted the 289-drag-trap branch September 26, 2023 11:03
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Sep 26, 2023
@pinussilvestrus
Copy link
Contributor Author

Will do ✅ Will you take care of bumping versions downstream in BPMN land?

@pinussilvestrus
Copy link
Contributor Author

Released via 55f1e47

@nikku
Copy link
Member

nikku commented Sep 26, 2023

We'll bump downstream. Thanks ❤️

pinussilvestrus pushed a commit to bpmn-io/form-js that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEEL popup menu should be a drag trap
3 participants