Hide the Scaffold's scroll-to-top button from accessibility (#10539)
It's redundant as iOS accessibility automatically includes this action on the clock in the status bar.
This commit is contained in:
parent
a5aaaa8422
commit
3a23419d84
@ -867,6 +867,8 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
|
||||
child: new GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: _handleStatusBarTap,
|
||||
// iOS accessibility automatically adds scroll-to-top to the clock in the status bar
|
||||
excludeFromSemantics: true,
|
||||
)
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user