MatrixNeoKozak opened a new pull request, #1695:
URL: https://github.com/apache/cordova-ios/pull/1695

   ## What
   The built-in status bar view (which paints StatusBarBackgroundColor from 
config.xml) was created with `hidden = YES`, and its `hidden` flag was only 
ever updated by the `scrollViewDidChangeAdjustedContentInset:` delegate 
callback. `showStatusBar:` (the `window.statusbar.visible` / 
`StatusBarInternal.setVisible` path) only toggled the view's `alpha`, so when 
the scroll-view delegate callback does not fire the status bar view stays 
hidden regardless of the JS API or config.xml, making the status bar appear 
unresponsive (apache/cordova-ios#1693, broken on iOS 27). This change creates 
the status bar view visible and makes `showStatusBar:` drive `hidden` together 
with `alpha`, keeping the two visibility controls coherent, and adds a 
regression test asserting the view's `hidden`/`alpha` and 
`prefersStatusBarHidden` state after both show and hide calls.
   
   ## Why
   This change resolves the target issue or improvement.
   
   ## How to test
   Verify that the project builds/runs correctly and the specific 
bug/improvement is addressed.
   
   Fixes #1693


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to