Ion-toggle in IOS mode does not offer the possibility to remove the toggle icon border
See original GitHub issueBug Report
Ionic version:
[x] 4.x
Current behavior:
It is not possible to remove the border of the ion-toggle that is shown by default in the IOS mode
Expected behavior:
Since the toggle-icon is part of the shadow dom, It would be helpful to provide some CSS property that controls the background-color of the toggle-icon, or the apparent border of the ion-toggle
Steps to reproduce:
Related code:
<ion-toggle mode="ios"></ion-toggle>
Other information:
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.7.1
Ionic Framework : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.11.4
@angular-devkit/schematics : 7.2.3
@angular/cli : 7.2.3
@ionic/angular-toolkit : 1.2.2
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Ion-toggle in IOS mode does not offer the possibility to ...
Thanks for the issue! I'm going to close this as the most recent version of the framework does not have a border on...
Read more >ion-toggle
Toggle changes the state of a single option. Use ion-toggle to create customizable toggle buttons that can be switched on or off for...
Read more >how to remove border around ion-toggle
If you do not want the border to show for the toggle's just add style='border:0;' like this: <ion-toggle style="border:0;" ...
Read more >Ionic Framework Toggle Customized: 5.1.0
Adding Classes. In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template....
Read more >Ionic4 列表项组件ion-item
By default clickable items will display a right arrow icon on ios mode. To hide the right arrow icon on clickable elements, set...
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 FreeTop 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
Top GitHub Comments
I couldn’t reproduce the problem. I don’t see any border in the iOS toggle.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.