Issue Report: [Ionic Framework] React - IonModal breaks z-index of tab page

preview_player
Показать описание
Ionic Framework Version
v7.x

Current Behavior:
Tab page stucks at current page when clicking tab button after modal inside each tab were opened. I noticed that z-index of div with class name "ion-page" stopped changing.
I also tried inline method and isOpen method, results are same.

Expected Behavior:
Clicking tab button should change the tab page.

Steps to Reproduce:
1. Create multiple tabs
2. Add modal into each tab
3. Open modal inside a tab
4. Close modal
5. Click on tab button to change page
6. Open modal in current page
7. Close modal
8. Click on tab button to change page (Page stucks at current)

Code Reproduction URL:
Рекомендации по теме
visit shbcf.ru