Skip to content

Fix voice-over crash#2

Draft
YannickGagnon wants to merge 1 commit into
agendrixfrom
hotfix/voiceover-calendar-issue
Draft

Fix voice-over crash#2
YannickGagnon wants to merge 1 commit into
agendrixfrom
hotfix/voiceover-calendar-issue

Conversation

@YannickGagnon

Copy link
Copy Markdown

J’ai faite quelques lecture hier à propos de l’accessibilité, c’est un monde fascinant.
Jai trouvé un work-around ce matin en troubleshoot le code de la lib qui appel notre delegate calendarCurrentPageDidChange il semblerait que le problème vienne de la méthode delegate - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset Lorsque que l’événement est lancé par un module tel que voiceover, le targetContentOffset est toujours un CGPoInt(0,0), Donc ceci selon mes observations patch le problème et explique pourquoi le calendar pick la date minimum 1970

@YannickGagnon YannickGagnon self-assigned this Jan 16, 2025
@YannickGagnon YannickGagnon marked this pull request as draft January 16, 2025 13:47

@Mathbl Mathbl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça évite que ça crash, mais par contre il reste que quand on hover sur la flèche de droite et qu'on fait un voiceover "swipe", ça scroll le calendrier et on tombe en 2099.

C'est quand même mieux qu'un crash tho.

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.

2 participants