hsuanxyz / ion2-calendar

📅 A date picker components for ionic2 /ionic3 / ionic4
https://hsuanxyz.github.io/demo/ion2-calendar/
MIT License
555 stars 277 forks source link

Unable to inspect 'subTitle' in iOS for ion2-calendar, where as we are able to inspect 'title' in iOS, but not 'subtitle' #350

Open user243243 opened 1 year ago

user243243 commented 1 year ago

Ionic version: (check one with "x") [ ] 2.x [ ] 3.x [x] 4.x

Ion2-calendar mode: (check one with "x") [x] components mode [ ] modal mode

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] help me

Current behavior:

Unable to inspect 'subTitle' in iOS for ion2-calendar, where as we are able to inspect 'title' in iOS, but not 'subtitle'

Expected behavior:

When inspecting the calendar elements, subtitle should also be inspectable.

Steps to reproduce:

  1. Implement ionic2-calendar
  2. Run it in iOS simulator or on gigafox devices
  3. step for iOS simulator:- Go to xcode -> Developer tool -> Accessibility inspector -> In simulator open the screen where ionic2-calendar is implemented. Now inspect the subtitle. We are able to inspect other elements but not subtitle

3.1. step for Giga fox device- Run the app -> open inspector -> In app open the screen where ionic2-calendar is implemented. Now inspect the subtitle. We are able to inspect other elements but not subtitle

Related code: this.daysConfig = [] this.daysConfig.push({ date: new Date(2022, 10, 22), title: "SomeTitleText", subTitle: "SomeSubTitleText" });

user243243 commented 1 year ago

@dflor003 @lynzz @sachinshelke @dbodyas : Any idea on above issue?