CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Spacebar to check

by sbsllc » 16 Jul 2018 22:03

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.
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by sbsllc » 18 Jul 2018 18:57

Attaching test case.

Just resize the browser so you would need to scroll down, then tab to the checkbox and press the space bar.
You do not have the required permissions to view the files attached to this post.
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by Alexander Bulei » 19 Jul 2018 09:08

Hi sbsllc,

What is your environment?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sbsllc » 19 Jul 2018 13:49

Running Delphi 10.2.2
IW 14.1.13
CG 4.1.0.87
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by Alexander Bulei » 20 Jul 2018 18:16

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sbsllc » 23 Jul 2018 22:40

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.
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by sbsllc » 26 Jul 2018 15:00

I also tried installing CG 4.1.0.98 to see if that helped resolve this issue but it did not.
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by Alexander Bulei » 26 Jul 2018 16:57

Hi,

And checked the PreventBrowserScroll?

Its works only for our checkboxes and radios (Ex).

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 26 Jul 2018 16:57

Hi,

And checked the PreventBrowserScroll?

Its works only for our checkboxes and radios (Ex).

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sbsllc » 26 Jul 2018 17:05

I reinstalled and made sure the PreventBrowserScroll was checked and now everything is working great. Thank you!
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37


Return to JQCheckBoxEx

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.