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

    purple-businessperson-14467

    07/15/2022, 4:31 PM
    probably not. I ususally run with caching disabled but I will double check
  • p

    purple-businessperson-14467

    07/15/2022, 4:36 PM
    Weird, it seemed better with cache disable this time but...The first 2 worked ok, I went to the outer scroll and back to inner and issue appeared.
  • b

    bright-gpu-74537

    07/15/2022, 4:37 PM
    oh! i think i managed to repro...
  • b

    bright-gpu-74537

    07/15/2022, 4:39 PM
    very strange behaviour - super edge casey, but defo something
  • p

    purple-businessperson-14467

    07/15/2022, 4:42 PM
    Maybe this help? There seems to be a variable related to offset causing it? The outer scroll doesnt move for part of the inner scroll movement.
  • b

    bright-gpu-74537

    07/15/2022, 4:43 PM
    so i actually think its something to do with the scrollbar, and not the scrollview
  • b

    bright-gpu-74537

    07/15/2022, 4:43 PM
    i think the scroll bar is sending an event that the parent scroll view is responding to... or something like that
  • p

    purple-businessperson-14467

    07/15/2022, 4:43 PM
    ya, idk
  • p

    purple-businessperson-14467

    07/15/2022, 4:44 PM
    Its easy to repeat once it occurs but not always easy to repeat.
  • b

    bright-gpu-74537

    07/15/2022, 4:44 PM
    honestly, i really like the effect - it mean, its totally wrong ofc, but its a weirdly cool effect 😄
  • p

    purple-businessperson-14467

    07/15/2022, 4:44 PM
    lol. make my brain wiggle
  • b

    bright-gpu-74537

    07/15/2022, 4:47 PM
    heh heh, yeah, i mean, makes no actual sense... but its kinda "fun" 😄
  • b

    bright-gpu-74537

    07/15/2022, 4:47 PM
    but yeah, its 100% related to the scrollbar, not the scrollview (as such)
  • b

    bright-gpu-74537

    07/15/2022, 4:52 PM
    Copy code
    xml
    <scrollview width="200" height="400" contentWidth="100%">
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <scrollview width="100%" height="200" contentWidth="100%">
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
            <button text="Button" width="100%" />
        </scrollview>
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
        <button text="Button" width="100%" />
    </scrollview>
  • p

    purple-businessperson-14467

    07/15/2022, 4:54 PM
    ya, the wheel works fine. I agree that it is the scrollbar being funny
  • b

    bright-gpu-74537

    07/15/2022, 5:03 PM
    the plot thickens... i actually turned off scrollbar from dispatching a change event, and somehow, they are talking to each other
  • p

    purple-businessperson-14467

    07/15/2022, 5:04 PM
    Fun! Here is a related question. Should it scroll if a button is clicked and dragged? I mean generally you wouldnt make a button to cause scrolling?
  • p

    purple-businessperson-14467

    07/15/2022, 5:04 PM
    I assume the button would cause an action and accidental scrolling would nor be correct?
  • b

    bright-gpu-74537

    07/15/2022, 5:05 PM
    the button action shouldnt actually trigger though
  • b

    bright-gpu-74537

    07/15/2022, 5:05 PM
    the focus rect is wrong tbf, it shouldnt get focus either
  • b

    bright-gpu-74537

    07/15/2022, 5:07 PM
    http://haxeui.org/builder/?iboiqm
  • p

    purple-businessperson-14467

    07/15/2022, 5:08 PM
    Is that on git haxeui-core? Just curious
  • b

    bright-gpu-74537

    07/15/2022, 5:08 PM
    it is, yeah, i update it pretty often
  • b

    bright-gpu-74537

    07/15/2022, 7:21 PM
    fixed - latest haxeui-core - updated the playground too, so those previous examples should work fine now
  • p

    purple-businessperson-14467

    07/15/2022, 8:39 PM
    almost perfect
  • p

    purple-businessperson-14467

    07/15/2022, 8:41 PM
    Cant highlight text in textarea http://haxeui.org/builder/?mquycj
  • p

    purple-businessperson-14467

    07/15/2022, 8:41 PM
    Mouse wheel in textarea also goes to outer scroll
  • p

    purple-businessperson-14467

    07/15/2022, 8:43 PM
    textfield highlighting works just not textarea, probably because there is no scroll
  • b

    bright-gpu-74537

    07/15/2022, 8:49 PM
    also fixed, the textarea one was another one kinda related to the previous - ie, scrolls interfering
  • b

    bright-gpu-74537

    07/15/2022, 8:50 PM
    (playground also updated)
1...116611671168...1687Latest