Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Buttons on Pages Shown with ShowCoverSheet Don't Initially Render Custom CSS Styles on iOS #29

Open
2 tasks
briankalwat opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working unverified This issue has not been verified yet

Comments

@briankalwat
Copy link

briankalwat commented Apr 23, 2024

Describe the Issue in Detail

When a page is loaded using ShowCoverSheet - any buttons on that page do not initially render styles specified in the app's "CSS Styles" field. However, if you pull to refresh the page in the cover sheet, the styles are then applied to the buttons when the page refreshes.

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

  1. Go to the "Styles" tab of any Application (this may be Maui/Shell v6 specific)
  2. Add custom style definitions that apply to a button on the page
  3. Create a link within the app to load a page with buttons on it using ShowCoverSheet
  4. Click the link, see the custom btn styles you defined in step 1 are not visible
  5. Pull to refresh within the Cover Sheet, see the custom styles have now been applied

Expected Behavior

Custom styles should be applied on pages using ShowCoverSheet in the same way they are for PushPage and any other navigation commands.

Actual Behavior

Custom styles are not initially applied to pages when they are displayed within a cover sheet.

Screenshots or Videos

Notice when the profile page is opened, initially the buttons for "App Settings" and "Sign Out" have the default (thinner) font, but pulling to refresh then applies the styles (bolder font) from our App CSS Styles.

RPReplay_Final1713896565.mov

Reproduction XAML

No response

Mobile Shell Version

6.0.0.0

Last Known Working Version

No response

iOS Device Type(s) and iOS Version(s)

17.4.1

Android Device Type(s) and Android Version(s)

n/a

@briankalwat briankalwat added bug Something isn't working unverified This issue has not been verified yet labels Apr 23, 2024
@briankalwat briankalwat changed the title [Issue]: Pages Shown with ShowCoverSheet Don't Initially Render Custom CSS Styles on iOS (Maui) [Issue]: Buttons on Pages Shown with ShowCoverSheet Don't Initially Render Custom CSS Styles on iOS (Maui) Apr 23, 2024
@briankalwat briankalwat changed the title [Issue]: Buttons on Pages Shown with ShowCoverSheet Don't Initially Render Custom CSS Styles on iOS (Maui) [Issue]: Buttons on Pages Shown with ShowCoverSheet Don't Initially Render Custom CSS Styles on iOS Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified yet
Projects
None yet
Development

No branches or pull requests

1 participant