Thread: [RM4255] Geometry Viewer captures keys in Firefox, Edge and Internet Explorer

[RM4255] Geometry Viewer captures keys in Firefox, Edge and Internet Explorer

From
Aditya Toshniwal
Date:
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"
Attachment
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