HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How can I disable the fade in and fade out effects in pgAdmin 4 when opening windows?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
pgadmincantheopeningeffectsdisablefadewhenwindowshow

Problem

Is there any way to disable the fade in and fade out effects in pgAdmin 4 when opening windows?

Example of fade in and fade out:

Solution

I could not disable the fade completely, but I got to remove the zooming effect (which also executes faster) improving the user experience. The zooming effect is added by AlertifyJS.

Edit the file alertify.pgadmin.defaults.js file located in C:\Program Files (x86)\pgAdmin 4\v1\web\pgadmin\static\js

Then change

alertify.defaults.transition = "zoom";


to

alertify.defaults.transition = "fade";


After making these changes, restart pgAdmin4 or click on File > Reset Layout.

Hopefully this step assists someone to find a better solution...

One can also set the above option to none, in this case it seems to default to the pulse transition.

Code Snippets

alertify.defaults.transition = "zoom";
alertify.defaults.transition = "fade";

Context

StackExchange Database Administrators Q#143375, answer score: 4

Revisions (0)

No revisions yet.