cljsjs/react-beautiful-dnd onDragEnd handler not firing in Chrome
up vote
0
down vote
favorite
I'm pretty new, so apologies for any oversight on format here. I've exhausted other sources:
Any insight on why an onDragEnd handler won't work in Chrome but will in Safari?
Thanks
edit:
Sorry about that. Won't work as in: I've got an :onDragEnd function established. As a means to test, the handler function just triggers a js/alert to pop up. I also tried to print to the console to confirm it was working as well. In both cases, the onDragEnd handler triggered as expected when done in Safari, but Chrome doesn't seem to recognize the onDragEnd event or something.
(defn abc
[DragDropContext
:onDragEnd on-drag-end-handler
[Droppable...
[Draggable...
somestuff]]])
(defn on-drag-end-handler
(js/alert "FOO"))
reactjs clojurescript reagent
add a comment |
up vote
0
down vote
favorite
I'm pretty new, so apologies for any oversight on format here. I've exhausted other sources:
Any insight on why an onDragEnd handler won't work in Chrome but will in Safari?
Thanks
edit:
Sorry about that. Won't work as in: I've got an :onDragEnd function established. As a means to test, the handler function just triggers a js/alert to pop up. I also tried to print to the console to confirm it was working as well. In both cases, the onDragEnd handler triggered as expected when done in Safari, but Chrome doesn't seem to recognize the onDragEnd event or something.
(defn abc
[DragDropContext
:onDragEnd on-drag-end-handler
[Droppable...
[Draggable...
somestuff]]])
(defn on-drag-end-handler
(js/alert "FOO"))
reactjs clojurescript reagent
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm pretty new, so apologies for any oversight on format here. I've exhausted other sources:
Any insight on why an onDragEnd handler won't work in Chrome but will in Safari?
Thanks
edit:
Sorry about that. Won't work as in: I've got an :onDragEnd function established. As a means to test, the handler function just triggers a js/alert to pop up. I also tried to print to the console to confirm it was working as well. In both cases, the onDragEnd handler triggered as expected when done in Safari, but Chrome doesn't seem to recognize the onDragEnd event or something.
(defn abc
[DragDropContext
:onDragEnd on-drag-end-handler
[Droppable...
[Draggable...
somestuff]]])
(defn on-drag-end-handler
(js/alert "FOO"))
reactjs clojurescript reagent
I'm pretty new, so apologies for any oversight on format here. I've exhausted other sources:
Any insight on why an onDragEnd handler won't work in Chrome but will in Safari?
Thanks
edit:
Sorry about that. Won't work as in: I've got an :onDragEnd function established. As a means to test, the handler function just triggers a js/alert to pop up. I also tried to print to the console to confirm it was working as well. In both cases, the onDragEnd handler triggered as expected when done in Safari, but Chrome doesn't seem to recognize the onDragEnd event or something.
(defn abc
[DragDropContext
:onDragEnd on-drag-end-handler
[Droppable...
[Draggable...
somestuff]]])
(defn on-drag-end-handler
(js/alert "FOO"))
reactjs clojurescript reagent
reactjs clojurescript reagent
edited Nov 9 at 22:22
asked Nov 9 at 21:11
Waffuly
12
12
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32
add a comment |
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233319%2fcljsjs-react-beautiful-dnd-ondragend-handler-not-firing-in-chrome%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please define "wont work" and add the code/the minimal failing example you see that error
– cfrick
Nov 9 at 21:32