Fork me on GitHub
#reagent
<
2019-02-12
>
heyarne08:02:57

i just compiled it and it doesn't work in the current firefox

heyarne08:02:32

the list gets rendreed correctly from what i can tell

heyarne08:02:40

seems to be a problem with react-sortable-hoc though? which is weird because they praise their wide compatibility

heyarne08:02:07

I get TypeError: invalid 'instanceof' operand window.TouchEvent[Learn More] react-sortable-hoc.inc.js:240:4 when trying to drag something

borkdude08:02:03

works for me. I’m not sure what you’re trying to do

borkdude08:02:27

are you using mobile maybe?

heyarne09:02:22

no. i just cloned the repository, cd'd into the sortable-hoc example and ran lein figwheel to see if it works

heyarne09:02:15

There's just no TouchEvent when I check in Firefox' REPL

heyarne09:02:39

this is on 65.0.1

borkdude09:02:49

I’ll test on Firefox

borkdude09:02:49

also works on FF for me

borkdude09:02:51

I changed the code in my project though, I only tested that

heyarne09:02:56

it does work in chrome. i'll try without addons

borkdude09:02:14

We’re using React with addons, FWIW

heyarne09:02:45

hm, you mean as a dependency? shouldn't lein figwheel get me all the deps?

heyarne09:02:08

deactivating browser addons didn't change anything. that's very weird. why does my Firefox have no TouchEvent?

borkdude09:02:07

maybe deactive all your browser plugins?

heyarne09:02:00

i already did that. it actually seems to be disabled by default (or set to autodetect the feature): https://stackoverflow.com/a/25494516

heyarne09:02:26

and the instanceof check was removed from react-sortable-hoc at some point: https://github.com/clauderic/react-sortable-hoc/issues/382

Ramzi23:02:00

Would anyone like to work with me in a private chat? I like to rapidly develop, but I'm not good. But if I had a peer to help me through the obstacles, it might be fun.

cljs 5