File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { readTask , writeTask } from '@stencil/core' ;
22import { clamp } from '@utils/helpers' ;
3+
34import { getIonMode } from '../../global/ionic-global' ;
45
56const TRANSITION = 'all 0.2s ease-in-out' ;
Original file line number Diff line number Diff line change @@ -228,8 +228,10 @@ export class TabBar implements ComponentInterface {
228228
229229 if ( hidden ) {
230230 this . el . setAttribute ( 'inert' , '' ) ;
231+ this . el . setAttribute ( 'aria-hidden' , 'true' ) ;
231232 } else {
232233 this . el . removeAttribute ( 'inert' ) ;
234+ this . el . removeAttribute ( 'aria-hidden' ) ;
233235 }
234236
235237 if ( this . contentEl ) {
@@ -256,6 +258,9 @@ export class TabBar implements ComponentInterface {
256258
257259 this . el . style . removeProperty ( '--internal-tab-bar-hide-height' ) ;
258260 if ( this . isHidden ) {
261+ this . el . classList . remove ( 'tab-bar-scroll-hidden' ) ;
262+ this . el . removeAttribute ( 'inert' ) ;
263+ this . el . removeAttribute ( 'aria-hidden' ) ;
259264 this . isHidden = false ;
260265 }
261266 }
You can’t perform that action at this time.
0 commit comments