Page 1 of 1
Spacebar to check

Posted:
16 Jul 2018 22:03
by sbsllc
I have a page where the user needs to scroll down to get to the bottom of the page and I have a number of JQCheckBoxEx controls at the top.
If I use the spacebar to check/uncheck these JQCheckBoxEx controls the browser scrolls to the bottom of the page.
Re: Spacebar to check

Posted:
18 Jul 2018 18:57
by sbsllc
Attaching test case.
Just resize the browser so you would need to scroll down, then tab to the checkbox and press the space bar.
Re: Spacebar to check

Posted:
19 Jul 2018 09:08
by Alexander Bulei
Hi sbsllc,
What is your environment?
Best Regards.
Re: Spacebar to check

Posted:
19 Jul 2018 13:49
by sbsllc
Running Delphi 10.2.2
IW 14.1.13
CG 4.1.0.87
Re: Spacebar to check

Posted:
20 Jul 2018 18:16
by Alexander Bulei
Hi sbsllc,
It's a default behavior of almost browsers.
Anyway, I've implemented the new property in IWCGJQCheckBox & IWCGJQRadio to prevent that.
- Code: Select all
IWCGJQCheckBox, IWCGJQRadio:
- Added: new property PreventBrowserScroll - prevent the browser scroll jump on check/unckeck with space bar.
Best Regards.
Re: Spacebar to check

Posted:
23 Jul 2018 22:40
by sbsllc
I installed CG version 4.1.0.97 but it does not seem to have fixed the issues. I can still reproduce it using the test case I uploaded.
I did make sure I synced the wwwroot folder.
Re: Spacebar to check

Posted:
26 Jul 2018 15:00
by sbsllc
I also tried installing CG 4.1.0.98 to see if that helped resolve this issue but it did not.
Re: Spacebar to check

Posted:
26 Jul 2018 16:57
by Alexander Bulei
Hi,
And checked the PreventBrowserScroll?
Its works only for our checkboxes and radios (Ex).
Best Regards.
Re: Spacebar to check

Posted:
26 Jul 2018 16:57
by Alexander Bulei
Hi,
And checked the PreventBrowserScroll?
Its works only for our checkboxes and radios (Ex).
Best Regards.
Re: Spacebar to check

Posted:
26 Jul 2018 17:05
by sbsllc
I reinstalled and made sure the PreventBrowserScroll was checked and now everything is working great. Thank you!