Link_to with :post => true causes "link hop" on submit

I have a link_to function that I’m calling with :post => true. When I
click it, the link (which is in a table cell) moves up a bit and pushes
the next table row down just a bit, like it’s hopping.

My guess is that in the generated Javascript (by link_to), the addition
of the form to the DOM is causing the link itself to move.

Anyone seen this before, and if so, know a way around it. I’m thinking
I could just write the Javascript that link_to generates myself and
change the display style on the form?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs