- My goal: We have a multistep app on mobile which we use for data capture. We are not using a multi page app. It’s all one page. We’re using a segmented control and containers which are hidden/revealed based on the step in the capture process. In one of our steps, we scan a barcode (the mobile app is run on an Android scanner), when we arrive on this step we want to clear the barcode input (in case the user is jumping around) and focus on the input.
- Issue: The problem we’re encountering is that this works the first time when we focus the barcode input. The second time however causes the input to become completely broken. It clears but isn’t focused and tapping on it manually does not focus it. It comes across as permanently disabled (without visually being disabled). It’s worth noting that this works flawlessly on the web editor and iOS. It’s only on the actual mobile app on Android that it’s an issue.
- Steps I've taken to troubleshoot: I’ve tried playing around with delaying the focus, delaying the clearing, not clearing it, not focusing it, not disabling it. Nothing works, it appears to be a bug with the underlying android app.
- Additional info: Cloud.
- We suffix icon to clear and focus the input, this doesn’t work either, until we’ve waited about 2 seconds, then we can use the suffix icon. Tapping the input normally doesn’t work until we’ve used the suffix icon.
Any help here would be greatly appreciated.