I am making a communication app in Rails, but I have encountered a strange bug.
Image dosen't display at the first visit on specific page.
Detail
The Bug occurs only at the first visit on this page.
After the bug occurs, if do the following things, image will be displayed normally.
- Visit the page again via another page
- Update the page
- Tap "select an element in the page to inspect it" on chrome console.(very strange)
Solution
If set "data-turbolinks = 'false'" to "a tag" before visit the page, images will be displayed without the bug, but I want to keep turbolinks.
Is there anyone has a solution?