https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • i

    icy-zebra-52882

    02/05/2023, 2:13 PM
    oh did you manage to fix it?
  • b

    bright-gpu-74537

    02/05/2023, 2:13 PM
    so i wouldnt worry about keeping that PR up to date... i would like you to cast your eyes over it once i commit though
  • b

    bright-gpu-74537

    02/05/2023, 2:13 PM
    yeah, i think so... just doing testing at stuff
  • i

    icy-zebra-52882

    02/05/2023, 2:14 PM
    I'll give it a go on firefox simulator and on ipad
  • i

    icy-zebra-52882

    02/05/2023, 2:14 PM
    in that case I can go back to official html5 git
  • b

    bright-gpu-74537

    02/05/2023, 2:15 PM
    cool - it shouldnt be long... thanks for the PR though... very useful
  • i

    icy-zebra-52882

    02/05/2023, 2:16 PM
    all 3 of us pen users can't be forgotten 😢
  • b

    bright-gpu-74537

    02/05/2023, 2:16 PM
    heh heh 🙂
  • b

    bright-gpu-74537

    02/05/2023, 2:17 PM
    well, ive been using the explorer with "mobile mode" (whatever its called) and it seems to work well
  • b

    bright-gpu-74537

    02/05/2023, 2:17 PM
    i can also ditch a bunch of code... which is nice
  • i

    icy-zebra-52882

    02/05/2023, 2:18 PM
    yeah the support in browsers for touch/pen has been standardised for a long time as "pointer" to make it easy to use mouse interfaces with those
  • i

    icy-zebra-52882

    02/05/2023, 2:18 PM
    but it took a long while for anything to catch up and realise
  • i

    icy-zebra-52882

    02/05/2023, 2:19 PM
    good design by mozilla/W3C in that respect though, free support by changing a string
  • b

    bright-gpu-74537

    02/05/2023, 2:29 PM
    alright, haxeui-html5 updated to use pointer events... lemme know if it works for you
  • i

    icy-zebra-52882

    02/05/2023, 2:33 PM
    I'm still getting exceptions on click
  • i

    icy-zebra-52882

    02/05/2023, 2:34 PM
    not sure if it's just my setup not updating or something, haxelib has been weird for me before
  • i

    icy-zebra-52882

    02/05/2023, 2:34 PM
    firefox still throws exceptions in console for the click event though, even though dropdowns will open
  • b

    bright-gpu-74537

    02/05/2023, 2:35 PM
    whoops, forgot to test ff
  • b

    bright-gpu-74537

    02/05/2023, 2:35 PM
    yup
  • b

    bright-gpu-74537

    02/05/2023, 2:36 PM
    so on ff its "mouse event" not "pointer event" ??
  • i

    icy-zebra-52882

    02/05/2023, 2:37 PM
    Copy code
    Uncaught 
    Object { message: "Cannot cast [object MouseEvent] to <function>", __previousException: undefined, __nativeException: {…}, value: "Cannot cast [object MouseEvent] to <function>", stack: "" }
  • i

    icy-zebra-52882

    02/05/2023, 2:37 PM
    it shouldn't have any issue converting a MouseEvent to a PointerEvent though
  • i

    icy-zebra-52882

    02/05/2023, 2:37 PM
    I just don't know where it's getting a function as the cast target
  • b

    bright-gpu-74537

    02/05/2023, 2:38 PM
    hmmmmf... yeah, on chrome click is "PointerEvent" and on FF its "MouseEvent"
  • i

    icy-zebra-52882

    02/05/2023, 2:38 PM
    still seems to be the PointerEvent cast in
    __onMouseEvent
    in ScreenImpl.hx
  • b

    bright-gpu-74537

    02/05/2023, 2:39 PM
    yeah, i mean, i defo get the same error and i can see why, but its weird / annoying that FF uses MouseEvent for click
  • i

    icy-zebra-52882

    02/05/2023, 2:39 PM
    it's also broken on ios safari so I don't think it's just that
  • i

    icy-zebra-52882

    02/05/2023, 2:40 PM
    but I can't see trace output for that since I don't have a mac
  • b

    bright-gpu-74537

    02/05/2023, 2:47 PM
    alright, can you pull and try again
  • b

    bright-gpu-74537

    02/05/2023, 2:47 PM
    ff should be fixed at least
1...146414651466...1687Latest