2

I have a view within my Rails app which includes a link:

= link_to 'abc', abc_url, remote: true

This link on its own works as intended.

But I embedded it in the drawer component of the mdc library. Now the link appears to be working like a regular link.

Is there a way to re-initialize rails-ujs after the drawer got opened? Or to circumvent the problem?

heroxav
  • 1,387
  • 1
  • 22
  • 65

0 Answers0