Closed karosc closed 3 years ago
@karosc Thank you for opening this PR, but I'm not sure what's the issue. When I right click on the map I do not see a context menu different from what I usually have. I tested on both chrome and firefox. Could you share an example of what you have in mind (preferably, a GIF and working code)
Nice, I have a working solution. But calling black to format at the end has changed a bunch of formatting in the existing code that I did not change myself. Do you have the black version number you are working with?
Unfortunately there's currently no linting for the source code; for now please don't lint it if possible (in order to limit the diff) and I'll add linting in a subsequent PR.
@karosc I just cloned your branch and ran npm i
/npm run build
. I noticed there's some discrepancy in package-lock.json
and dash_deck.min.map
. Could you check if you correctly ran the commands described in CONTRIBUTING.md? Thanks!
@xhlulu I re-ran 'npm run build' and saw the changes in those files pop up in git.
I think I edited a docstring and forgot to rebuild before pushing. Apologies
Thanks. Can you run npm i
again as well to fix package-lock.json?
I did that before run build. Just did it again and got no changes.
@alexcjohnson Happy to hear your feedback as well
Added a demo. Looks like this
About
Removes the right click context menu from deck.gl maps by default
## Description of changes Addition of new disableContext property bool. If set to true, event listener is added to stop right click context menu from showing up on deck.gl mapPre-Merge checklist
npm run build
.Reference Issues
Closes #[issue number]
Other comments