Action Buttons still scrolling (visible) despite setting them off

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
zibrahim
Veteran Member
Posts: 170
Joined: 2020-01-28 18:30
Location: Malaysia

Action Buttons still scrolling (visible) despite setting them off

Post by zibrahim » 2022-02-06 00:53

Konnichiwa (Hello in Japanese), :D
I noticed that the action buttons (Save, Back, Print Preview, Delete) are still scrolling down (visible) despite setting them OFF (unchecked) in the Detail view settings.
I have generated a fresh files (without any additional hooks modification) and still observing the same issue.
Can anyone confirm this and any idea how to stop the scrolling effect?

Domo Arigatou. ;)
Zala.
Appgini 25.12, MacOS 15.5 Windows 11 on Parallels.

User avatar
zibrahim
Veteran Member
Posts: 170
Joined: 2020-01-28 18:30
Location: Malaysia

Re: Action Buttons still scrolling (visible) despite setting them off

Post by zibrahim » 2022-02-08 09:01

Hello,
Just want to share some findings about this issue.
Screenshot 2022-02-08 at 3.49.36 PM.png
Screenshot 2022-02-08 at 3.49.36 PM.png (15.48 KiB) Viewed 1455 times
I found out that when you check (select) the “Keep action buttons visible while scrolling down” for the table Detail view settings, in the appgini app, and generate the files...

it will include (insert)

Code: Select all

/* enable DV action buttons to float on scrolling down the form */
enable_dvab_floating();
in the TABLENAME_templateDV.html file.
And when you uncheck the “Keep action buttons visible while scrolling down” in the appgini app and generate the files again, by right, the enable_dvab_floating(); code should not be in the TABLENAME _templateDV.html anymore.

I tested it with a few tables. For some tables, yes, I observed the expected result as above.
But for some tables, the enable_dvab_floating(); code still appear in the TABLENAME _templateDV.html even though I uncheck the “Keep action buttons visible while scrolling down” in the appgini app and regenerate the files.
Not sure why but there is a workaround for this issue (if you are experiencing this).
Put the following code in the hooks/TABLENAME-dv.js file

Code: Select all

// disable action buttons floating function
enable_dvab_floating_run = false;
Thanks to Jan for showing me where to look. :D
Zala.
Appgini 25.12, MacOS 15.5 Windows 11 on Parallels.

Post Reply