Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How are you debugging mobile?

MWCCredit priority asked 2 years ago


Hey guys,

I'm struggling to debug a simple trigger => reveal field on mobile...

The snippet below is an example of a field that doesn't work on my page (only on mobile), and on desktop there are no errors in the console.

The snippet works fine in MDB, as well as on a blank page...tracing this down with dev tools wouldn't be so bad, but I don't even know where to begin looking up what is going wrong on my cellphone...

https://mdbootstrap.com/snippets/standard/mwccredit/3779699#html-tab-view

Unexpected Behavior

Field is not revealed/hidden on mobile


Dawid Wajszczuk staff answered 2 years ago


Hi,

You have mobile view in dev tools.

Everything works fine in the snippet (using mobile view in dev tools as well as on my phone). But you can try changing event listener to "change" instead of "tap".

Keep coding,
Dawid



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: Mobile
  • Browser: Safari
  • OS: IOS
  • Provided sample code: No
  • Provided link: Yes