Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you quick edit an order on admin/commerce/orders in the bottom of the page, and you close the megarow, the page jumps to the top of the page. It should stay on the order, you just closed.
Comments
Comment #1
jsacksick CreditAttribution: jsacksick commentedComment #2
ArtusamakIndeed, the closing link wasn't catch to avoid the automatic scroll to top.
I pushed a change to scroll to the row that triggered the megarow opening.
If you want to test the change: http://drupalcode.org/project/views_megarow.git/commit/45b8fe60d4e874bed...
Comment #3
checker CreditAttribution: checker commentedI'm asking if it is possible to modify this value with drupals api. Otherwise it could be really helpful that this value "120px" is variable. Designer often have problems with hard coded styles. What do you think?
Comment #4
ArtusamakThat's a good idead, I exposed this setting in the plugin settings. Check http://drupalcode.org/project/views_megarow.git/commit/bad2c1a8f9e0b4991...
Thanks guys.