-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Description
- Framework7 version: 9.0.3
- Platform and Target: Chrome Browser, PWA/WebApp in iOS style mode
Describe the bug
A button color specified for a dialog is applied in MD/Android theme but not for iOS theme.
To Reproduce
Steps to reproduce the behavior:
- Create a dialog with custom buttons (see sample code and screenshots below)
- Set a button color
- See result in iOS theme
Expected behavior
The buttons of the dialog actually show up with the color as defined. It would be nice to have that across themes, including the iOS theme.
Actual Behavior
The buttons of the dialog use the default app theme color shading for all buttons, regardless of button color defined.
Screenshots
Additional context
$f7.dialog.create({
text: 'This is a test',
buttons: [
{
text: 'Button 1',
color: 'red',
},
{
text: 'Button 2',
color: 'blue'
},
],
verticalButtons: true,
}).open();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels