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

    billowy-waiter-28954

    03/01/2023, 6:09 PM
    I don't think Ceramic is doing anything weird here
  • b

    bright-gpu-74537

    03/01/2023, 6:09 PM
    nor haxeui
  • b

    bright-gpu-74537

    03/01/2023, 6:10 PM
    ... ... ... slowly looks at NotBilly... 😄
  • b

    bright-gpu-74537

    03/01/2023, 6:12 PM
    https://github.com/Jarrio/haxeui-ceramic/blob/master/haxe/ui/backend/ComponentImpl.hx#L326-L341
  • b

    bright-gpu-74537

    03/01/2023, 6:12 PM
    is this what it looks like still? Is this "right"?
  • a

    ambitious-knife-25690

    03/01/2023, 6:12 PM
    correct
  • a

    ambitious-knife-25690

    03/01/2023, 6:13 PM
    only one event is triggered not 2
  • a

    ambitious-knife-25690

    03/01/2023, 6:13 PM
    My testcase demo'd this 🤔
  • b

    bright-gpu-74537

    03/01/2023, 6:14 PM
    ok, so i think there is crossed wires, or misexplanation on my part... in cermaic you just metioned that it will only get one event, ie, the child will swallow the event for the parent
  • b

    billowy-waiter-28954

    03/01/2023, 6:15 PM
    yes that's it
  • b

    bright-gpu-74537

    03/01/2023, 6:16 PM
    ok, i dont think that is "standard" behaviour, not that there is a standard, but browsers or my exp with other frameworks... anyways, looks like NB has a workaround 🙂
  • a

    ambitious-knife-25690

    03/01/2023, 6:17 PM
    I don't think I do
  • a

    ambitious-knife-25690

    03/01/2023, 6:17 PM
    also can we talk in one channel 😆
  • a

    ambitious-knife-25690

    03/01/2023, 6:20 PM
    hmm, this seems confusing
  • a

    ambitious-knife-25690

    03/01/2023, 6:20 PM
    I wonder if intercepting would be enough... i guess i'll test that in the mean time
  • a

    ambitious-knife-25690

    03/01/2023, 6:21 PM
    even if it does, it only seems to be down and over, which isn't the full event list that haxeui may require
  • b

    bright-gpu-74537

    03/01/2023, 6:21 PM
    i would try Jeremy's suggestion and see if it improves things, but i can think of many times in haxeui, and user code, where there very well may be events in parents and children (mouse events or otherwise)
  • a

    ambitious-knife-25690

    03/01/2023, 6:23 PM
    on it 😄
  • b

    billowy-waiter-28954

    03/01/2023, 6:40 PM
    😅
  • a

    ambitious-knife-25690

    03/01/2023, 8:22 PM
    almost
  • a

    ambitious-knife-25690

    03/01/2023, 8:22 PM
    i can't click on items
  • a

    ambitious-knife-25690

    03/01/2023, 8:25 PM
    testcase seems to work
  • a

    ambitious-knife-25690

    03/01/2023, 8:36 PM
    i'm getting mouse down/up events from the dropdown
  • a

    ambitious-knife-25690

    03/01/2023, 8:36 PM
    everything appears to be working except for click mousedown/up 🤔
  • a

    ambitious-knife-25690

    03/01/2023, 8:46 PM
    virtual listview works 100% but the normal ones don't let me select the row
  • a

    ambitious-knife-25690

    03/01/2023, 11:29 PM
    hmmm, tree view and normal list views both don't fully work
  • a

    ambitious-knife-25690

    03/01/2023, 11:29 PM
    what is different about these guys 🤔
  • a

    ambitious-knife-25690

    03/01/2023, 11:53 PM
    really not sure, clicking triggers the mousedown event on a dropdown
  • a

    ambitious-knife-25690

    03/02/2023, 12:52 AM
    !!!!!
  • a

    ambitious-knife-25690

    03/02/2023, 12:57 AM
    I think I have figured out what is going on with my clipping implementation. If a child of a parent specifies a clipping rectangle, the parent clipping rect no longer works. In the above example I add a clip rect and it works fine, but as soon as I add a clip rect to a child of the larger square the clip rect no longer works. This seems similar to the event handling issue where a child takes priority. Is this intentional? If so, how does one achieve nested clipping in ceramic? @billowy-waiter-28954
1...156315641565...1687Latest