8000 Fix issue 359 (zoom overlay drawn beneath shapes) by n-riesco · Pull Request #448 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Fix issue 359 (zoom overlay drawn beneath shapes) #448

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 11 commits into from
Apr 27, 2016
Prev Previous commit
Fix failure in click_test.js
* In the drag interactions tests, make sure the notifier doesn't hide
  the drag elements.
  • Loading branch information
n-riesco committed Apr 27, 2016
commit 90700da4429496fe6b6ddde1dafcb42202ac6c46
8 changes: 7 additions & 1 deletion test/jasmine/tests/click_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ describe('Test click interactions:', function() {

describe('drag interactions', function() {
beforeEach(function(done) {
Plotly.plot(gd, mockCopy.data, mockCopy.layout).then(done);
Plotly.plot(gd, mockCopy.data, mockCopy.layout).then(function() {
// Do not let the notifier hide the drag elements
var tooltip = document.querySelector('.notifier-note');
if(tooltip) tooltip.style.display = 'None';

done();
Copy link
Contributor

Choose a reason for hiding this comment

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

Beautiful. Thanks for figuring this out 🍻

});
});

it('on nw dragbox should update the axis ranges', function(done) {
Expand Down
0