materializecss / materialize

Materialize, a web framework based on Material Design
https://materializeweb.com/
MIT License
916 stars 105 forks source link

[Bug]: Feature Discovery TapTarget component not working as described #523

Open gselderslaghs opened 1 week ago

gselderslaghs commented 1 week ago

Before submitting...

Context

Feature Discovery TapTarget component does not work as described in the Materialize docs

Current Behavior

Implementing the TapTarget component as described in the Materialize docs results in no interactive behaviour, while on the documentation page the component works partly as expected when activating the "Open tap target" link, activating the menu button results in no-interaction as well

CodePen reproduction

Expected behavior

The component should be reactive as described in the docs

Possible Solutions or Causes

No response

Steps to reproduce

  1. Open this link
  2. Activating the "Open tap target link" has no interaction
  3. Activating the menu link has no interaction

Your Environment

OlivierMadant commented 1 week ago

Hello Geert,

Please find the codepen: https://codepen.io/Olivier-Madant/pen/ZEgjrNN I think this is a problem in the documentation.

I take this opportunity to thank you very much for all your contributions, your work in this framework Have a nice day,

Olivier

gselderslaghs commented 1 week ago

Hi Olivier,

The solution you provided works as desired, thanks for your support. I'll take a look at the docs so those can be updated.