#beeeeeeeeeeee2

1 messages ยท Page 1 of 1 (latest)

forest rootBOT
livid mountain
#

hi, let me see quickly if I can replicate that.

agile ginkgo
#

thanks so much ๐Ÿ˜Š

livid mountain
#

so I have this running but to be honest I'm not sure how to trigger onBlur to happen, just clicking aroun other parts of my component doesn't trigger it on either iOS/Android target

agile ginkgo
#

Do you have anything wrapping around the screen or the cardfield? in my case, clicking outside of the element causes it to lose focus however the onblur isn't being triggered

livid mountain
#

ah I just added a random TextField so I can click into that

agile ginkgo
#

but the loss of focus is clear as the cursor in the cardfield disappears

livid mountain
#

so anyway yes I can replicate that

agile ginkgo
#

ah so does it just not work on this version? should i upgrade

livid mountain
#

well I am using 0.33.0 in my app, which is the latest

#

so it's just a bug, I'd suggest opening an issue on Github and I'll also mention it internally

agile ginkgo
#

does it trigger on android for you?

livid mountain
#

yes

agile ginkgo
#

I guess I could a ticket yeah. this worked on 0.23.0 for me but I can't downgrade because the google pay button has a really big border radius

#

but yes I'll open a ticket then and maybe solve it in the mean time by keeping track of the keyboard opening/closing

#

is there a good way to get the ref.focused for this particular element, do you know maybe?

livid mountain
#

not sure if it's what you mean but onFocus recieves an argument with the name of the part of the CardField that was focussed

#

onFocus={focusedField => {
console.log('focusField', focusedField);
}}

agile ginkgo
#

I saw that but I would just need to know that the whole field actually just isn't focused anymore

livid mountain
livid mountain
agile ginkgo
#

alright ๐Ÿ‘ i'll open a ticket then