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

Fix presentation issue #702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

netaiVia
Copy link

Adding the view of the presenting view controller to the transition container view causes an accessibility issue when using the keyboard option. Typical iOS behavior is that a view controller that was presented on top of another view controller will take all the keyboard gestures and that the view under will not be accessible with the keyboard.

The issue here is that by adding the presenting view to the container iOS now will make it on the same level as the presented view with respect to accessibility.

In order to support the change we remove the presenting view from the container, this poses an issue because the presentation style contains a background which now doesn't make much sense to have as it is rendered above the presenting view, so we also remove the option to set a custom background color.

Adding the view of the presenting view controller to the transition container view causes
an accessibility issue when using the keyboard option. Typical iOS behavior is that a
view controller that was presented on top of another view controller will take all the keyboard
gestures and that the view under will not be accessible with the keyboard.

The issue here is that by adding the presenting view to the container iOS now will make it on the same level
as the presented view with respect to accessibility.

In order to support the change we remove the presenting view from the container, this poses an issue
because the presentation style contains a background which now doesn't make much sense to have as it
is rendered above the presenting view, so we also remove the option to set a custom background color.
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

Successfully merging this pull request may close these issues.

1 participant