Re: [RM4255] Geometry Viewer captures keys in Firefox, Edge andInternet Explorer - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [RM4255] Geometry Viewer captures keys in Firefox, Edge andInternet Explorer
Date
Msg-id CA+OCxoxNw_59W5t9U4EZK392R9MretZ+C2ru2P9WfmM5NJoTdQ@mail.gmail.com
Whole thread Raw
In response to [RM4255] Geometry Viewer captures keys in Firefox, Edge and Internet Explorer  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, applied.

On Tue, Jun 4, 2019 at 6:54 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to fix a focus issue in geometry view for browsers other than chrome. 
If geometry viewer is not visible (in wcDocker) and it loses focus, then blur event is triggered for geometry viewer only in chrome, but other browsers do not tigger blur event as the element is not visible. Code is changed to explicitly fire blur event in visibility hidden.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Prevent the geometry viewer grabbing key presses when
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin][RM4310] User can not connect to the Master Passwordwith Enter button