You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
Swipeable Segments (IonSegment and IonSegmentView) do not work if dir="rtl" add to body tag. If click on button, it won't slide content of the next segment.
Under Firefox's Responsive Design Mode (mobile): if try to swipe instead of clicking the button, it will through an error:_
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
IonSegment
andIonSegmentView
) do not work if dir="rtl" add tobody
tag. If click on button, it won't slide content of the next segment.Expected Behavior
Both
IonSegment
andIonSegmentView
obey the RTL direction.Steps to Reproduce
ReactJS
code from (https://ionicframework.com/docs/api/segment#swipeable-segments), add dir="rtl" tobody
tag or to bothIonSegment
andIonSegmentView
IonSegmentButton
no feedback (segment wont auto-slide), if swipe theconsole
with through an error.TypeError: button is undefined
Code Reproduction URL
https://ionicframework.com/docs/api/segment#swipeable-segments
Ionic Info
Ionic:
Ionic CLI : 7.2.0
Ionic Framework : @ionic/react 8.4.1
Capacitor:
Capacitor CLI : 6.2.0
@capacitor/android : not installed
@capacitor/core : 6.2.0
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.18.1
npm : 10.8.2
OS : Linux 5.15
Additional Information
Temporary solution: hard-code dir="ltr" to
IonSegmentView
tag and hope the user won't notice the wrong slide direction.The text was updated successfully, but these errors were encountered: