Tested on https://www.smartclient.com/smartgwt...d_complete_app Version 12.0p Built 2019-07-22
When tab to edit the Description, the cursor will be at the start of the text with Safari on Mac, while the cursor will be at the end of the text with Chrome.
Safari
Chrome
Any suggestion how I can make the cursor and the text display from the start of the text for Chrome, just like Safari?
With setSelectionRange(0,0); I can position the cursor to the front of the text. However, if the text is more than the text box length (vertical scroll bar appear), with Chrome, even though the cursor is set to the start of the text, the text box still display the text to the end (the cursor will be out of the display range above the text displayed).
Thank you very much for your help!
When tab to edit the Description, the cursor will be at the start of the text with Safari on Mac, while the cursor will be at the end of the text with Chrome.
Safari
Chrome
Any suggestion how I can make the cursor and the text display from the start of the text for Chrome, just like Safari?
With setSelectionRange(0,0); I can position the cursor to the front of the text. However, if the text is more than the text box length (vertical scroll bar appear), with Chrome, even though the cursor is set to the start of the text, the text box still display the text to the end (the cursor will be out of the display range above the text displayed).
Thank you very much for your help!
Comment