2

When you click on a page that has the filepicker button in a Rails app, the button doesn't render. I assume it's because it triggers on window load only. Turbolinks requires a callback for page:load.

How to fix/solve?

Daniel Fischer
  • 3,042
  • 1
  • 26
  • 49

1 Answers1

0

The solution now is to move

<%= filepicker_js_include_tag %>

from inside the <head> tag to inside <body> tag.

See this discussion: https://github.com/Ink/filepicker-rails/issues/52

ralphos
  • 626
  • 2
  • 10
  • 20