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

[Maps] Fix bug that allowed delete when between drawing modes #103594

Conversation

kindsun
Copy link
Contributor

@kindsun kindsun commented Jun 29, 2021

Following the merge of #103145, it was possible to delete shapes outside of delete mode when between drawing shapes (i.e.- In MB simple select mode). This fixes the bug and prevents any onClick handling outside of delete mode.

A little hard to see in the gif, except that it zooms because I'm clicking a lot. The key thing is, it doesn't delete the shape outside of when delete mode is selected.

Peek 2021-06-28 18-16

@kindsun kindsun added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.14.0 labels Jun 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 3.1MB 3.1MB +177.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could reproduce this bug. Verified that this PR fixed that bug.

@thomasneirynck thomasneirynck added the auto-backport Deprecated - use backport:version if exact versions are needed label Jun 29, 2021
@thomasneirynck thomasneirynck merged commit 436ddef into elastic:master Jun 29, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants