Skip to content

Fix layer drag and drop blocking transparency slider usage #676

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

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Mar 1, 2024

only react to drag and dropping when the title of the layer is handled, and not the settings area anymore

Test link

@github-actions github-actions bot added the bug label Mar 1, 2024
@pakb pakb requested review from ltkum and ltshb March 1, 2024 14:54
Copy link

cypress bot commented Mar 1, 2024

Passing run #892 ↗︎

0 167 22 0 Flakiness 0

Details:

Merge pull request #676 from geoadmin/bug_fix_layer_drag_drop_block_settings_eve...
Project: web-mapviewer Commit: 972cf90855
Status: Passed Duration: 05:51 💡
Started: Mar 5, 2024 5:35 PM Ended: Mar 5, 2024 5:41 PM

Review all test suite changes for PR #676 ↗︎

Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

Strangely this does not work on mobile (iphone) were we still have the old behavior ?

@pakb pakb force-pushed the bug_fix_layer_drag_drop_block_settings_events branch from 27344c1 to ffc896a Compare March 4, 2024 06:52
@pakb
Copy link
Contributor Author

pakb commented Mar 4, 2024

Strangely this does not work on mobile (iphone) were we still have the old behavior ?

I tested on my own device (iOS 17.3.1, Safari) it worked well, but this PR wasn't necessary for this kinds of devices. As we are using a delay on mobile/touch, this wasn't an issue there, only on desktop without the delay

@ltshb
Copy link
Contributor

ltshb commented Mar 4, 2024

@pakb would be good to add an e2e test case for the the drag and drop of the opacity bar ?

only react to drag and dropping when the title of the layer is handled, and not the settings area anymore
@pakb pakb force-pushed the bug_fix_layer_drag_drop_block_settings_events branch from ffc896a to ac67d5b Compare March 5, 2024 16:57
@pakb
Copy link
Contributor Author

pakb commented Mar 5, 2024

@pakb would be good to add an e2e test case for the the drag and drop of the opacity bar ?

Yes, but with all the pain I experienced trying to implement the "simple" drag and drop layer test, I'm not sure if I want to go back there 🙃

@pakb pakb merged commit 972cf90 into develop Mar 5, 2024
@pakb pakb deleted the bug_fix_layer_drag_drop_block_settings_events branch March 5, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants