are there versions of Compose or Material that hav...
# compose-android
b
are there versions of Compose or Material that have broken TextCursors on TextFields? on the Gmail app for example, I can use the textCursor/dragHandle to seek through a long text on a field, but on my production app with a regular textfield and my custom implementation it does not seek through the text, it gets caught on the beginning and end.
dang, definitely seems like it broke from material3 1.2.0-beta01 (working) to 1.2.1( broken)
s
So it's not just me 🤯🤯 I noticed the drag handle doesn't do this properly, but holding spacebar and dragging around does properly scroll!
Did you file a bug report? I'd +1 instantly
b
I have not. If you got to it first I'd +1 as well. Just trying to focus on other stuff at the moment.
z
like the cursor snaps to start/end? A video would be helpful if anyone files a bug. I don’t think i’ve seen this come through before
but @Grant Toepfer has been working on a lot of selection stuff (reviewing his PRs as we speak 😅 ) so this might be new or already fixed
g
Yep please open a bug with a minimal repro sample and we will take a look
b
@Zach Klippenstein (he/him) [MOD] the cursor moves fine, but doesn't allow any overflow scrollling. i.e. you can't scroll past what's visible in the textfield.
g
BTF2 (with the
state
parameter) supports that, BTF1 (
value
parameter) does not
b
and I'm guessing TextField M3 uses BTF1?
g
But that doesn't really line up with the original description, I don't believe BTF1 ever supported overflow scrolling. M3 has not used BTF2 yet because it is not out in a stable release yet.
b
weird. I swear it was working, but can't get it to work again. it seems like it has minimal overflow support where it can peek a little bit past
g
It can maybe peek one character past the end?
b
I see, I guess no worries if a new implementation explicitly adds support for this.
g
Yep!
If you're feeling adventurous you get set your compose version to the current alpha/beta version and play with BTF2. But it doesn't have a material implementation so it won't really be a drop in replacement right now.