Skip to content

bug: Inconsistent Font Weight in ion-item-divider Across Android and iOS #30011

@souravion

Description

@souravion

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

I am using ion-item-divider in Ionic, but the issue is that on Android, the text inside ion-item-divider has a normal font weight, while on iOS, the font weight is bold

Expected Behavior

I believe we are using a hybrid mobile application framework, and when both platforms behave differently for the same web component, it becomes really hard to maintain. How can I manage this?

Steps to Reproduce

Please visit - https://ionicframework.com/docs/api/item-divider

iOS
image

Android
image

Code Reproduction URL

https://github.com/souravion/item-divider

Ionic Info

Ionic:

Ionic CLI : 7.1.5 (C:\mypc\xxxxx\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.7.5
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.3.11
@angular/cli : 13.3.11
@ionic/angular-toolkit : 5.0.3

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2
@capacitor/core : 6.1.2
@capacitor/ios : 6.1.2

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v20.15.1 (C:\Program Files\nodejs\node.exe)
npm : 10.7.0
OS : Windows 10

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions