Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TalkBack support when setFocusable(false) #470

Open
alashow opened this issue Aug 25, 2023 · 1 comment
Open

TalkBack support when setFocusable(false) #470

alashow opened this issue Aug 25, 2023 · 1 comment

Comments

@alashow
Copy link

alashow commented Aug 25, 2023

Re-opening #407 since the issue is still there

Please complete the following information:

  • Library Version 1.5.4
  • Affected Device Pixel 7 Pro, samsung SM-X700

Describe the Bug:

Using setFocusable(false) allows touching other views without having to click twice ( if setFocusable(true), need to click once outside balloon to dismiss ballon and another to click for intended view)

However, setFocusable(false) disables TalkBack behavior when balloon is shown. Only after clicking the ballon window TalkBack service announces ballon windows text.

@skydoves
Copy link
Owner

Hey @alashow, sorry for the delayed response. What if you call the function below to the balloon's content view like the example below?

balloon.bodyWindow.contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants