using css class parameter breaks iOS when navigating
See original GitHub issueHi there
Using nativescript 3.0.2 & Angular/Typescript
Using the following in a html layout breaks iOS when navigating to the View. (The navigation doesnt do anything. The app doesnt crash)
this.routerExtensions.navigate(['/main']);
This doesnt work:
<CardView class="cardStyle" elevation="4" radius="1" marginBottom="2" width="100%"> <StackLayout orientation="vertical" padding="20"> </StackLayout> </CardView>
This works:
<CardView elevation="4" radius="1" marginBottom="2" width="100%"> <StackLayout orientation="vertical" padding="20"> </StackLayout> </CardView>
.cardStyle { background-color: #ffffff; }
Everything works in Android as expected.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
page-break-after - CSS: Cascading Style Sheets | MDN
The page-break-after CSS property adjusts page breaks after the current element.
Read more >:not | CSS-Tricks - CSS-Tricks
The :not() property in CSS is a negation pseudo class and accepts a simple selector or a selector list as an argument.
Read more >Reset/remove CSS styles for element only - Stack Overflow
You need "A css rule available that would remove any styles previously set in the stylesheet for a particular element." So, if the...
Read more >Safari Technology Preview Release Notes - Apple Developer
Changed to allow variables with the same name as the class in its static block ... Fixed unwanted extra dash when autocompleting CSS...
Read more >Framework7 Release Notes
router: browserHistoryTabs parameter to define how to handle routable ... photo-browser: enables cssMode by default for iOS and Android devices (d6cb8e3) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ups, spoke too soon. Just upgraded the plugin to latest version and get the same issue. Using
background-color
css element makes the app crash when navigating back to a view that has CardView with that css-element. Weird error.Using
backgroundColor="white"
directly on the XML, works fine.Thanks guys for looking into 👍