View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13234 | Bug reports | Survey editing | public | 2018-01-22 17:21 | 2018-02-19 15:06 |
Reporter | pgs | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Product Version | 3.0.x | ||||
Fixed in Version | 3.4.x | ||||
Summary | 13234: Focus in text fields when pressing return | ||||
Description | Hello, when pressing Enter after typing in a text input field (some users in the wild do this, our pretesters did not come up with this idea), focus is not kept in the text field. With a single line text filed, pressing Return results in a behaviour like one pressed the browsers back button. In Firefox and Chrome LS intercepts with a "Don't use your browsers navigation" message. In IE the previous survey page is retrieved. With a multiple line text field, in Firefox, Chrome, IE the field is blanked. I Think thi would not occure if while pressing Enter the focus would be kept in the field. Focus should only leave the field when pressing Tab or when cklicking outside. | ||||
Tags | focus, text field | ||||
Bug heat | 22 | ||||
Complete LimeSurvey version number (& build) | 3.0.5+180118 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF, IE, Chrome | ||||
Database type & version | MariaDB 10.1.26 | ||||
Server OS (if known) | Debian 9 | ||||
Webserver software & version (if known) | Apache2 2.4.25-3 | ||||
PHP Version | 7.0+49 | ||||
Ideally, nothing should happen if someone pressed Enter, except if it is a multiline text field. |
|
I also experience this issue in my surveys. Version 3.0.5+180118 In multiline text boxes, hitting the "return" key it refreshes the page of the survey you are on. This leads to all the previous inputs on that page of the survey being lost. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26315 |
|
I updated that file and it didn't fix anything. |
|
Have you flushed your cache? |
|
Hello, updated the file, flushed the cache. Works not as intended: When pressing Retsurn while in a text field, now the actual page gets reloaded. |
|
Even before the fix, the issue for me was that it always refreshed the page. |
|
Why would this issue get closed if we are still seeing the problem? |
|
Are you using the default templates and the current version? |
|
Default templates, current versuion ( Version 3.2.1+180207). Still refreshing the page after a minmal delay after pressing resturn when in multiple line textfield. |
|
Reopened issue since it's not resolved. |
|
Ok i found the issue. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26478 |
|
LimeSurvey: master a20d36e7 2018-02-02 17:28
Details Diff |
Fixed issue 13234: Focus in text fields when pressing return |
Affected Issues 13234 |
|
mod - themes/survey/vanilla/scripts/theme.js | Diff File | ||
LimeSurvey: master a5565ec1 2018-02-15 14:31
Details Diff |
Fixed issue 13234: Focus in text fields when pressing return |
Affected Issues 13234 |
|
mod - application/views/admin/survey/breadcrumb.php | Diff File | ||
mod - assets/packages/pjax/min/pjax.combined.min.js | Diff File | ||
mod - assets/packages/pjax/min/pjax.min.js | Diff File | ||
mod - assets/packages/pjax/pjax.js | Diff File | ||
mod - themes/survey/vanilla/scripts/theme.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-22 17:21 | pgs | New Issue | |
2018-01-22 17:21 | pgs | Tag Attached: text field | |
2018-01-22 17:21 | pgs | Tag Attached: focus | |
2018-01-24 16:23 | c_schmitz | Note Added: 46023 | |
2018-01-29 22:18 | zbm | Issue Monitored: zbm | |
2018-01-29 22:19 | zbm | Note Added: 46143 | |
2018-02-02 16:28 |
|
Changeset attached | => LimeSurvey master a20d36e7 |
2018-02-02 16:28 |
|
Note Added: 46224 | |
2018-02-02 16:28 |
|
Assigned To | => markusfluer |
2018-02-02 16:28 |
|
Resolution | open => fixed |
2018-02-02 16:29 |
|
Status | new => resolved |
2018-02-02 16:29 |
|
Fixed in Version | => 3.1.x |
2018-02-02 23:13 | zbm | Note Added: 46238 | |
2018-02-03 11:51 |
|
Note Added: 46239 | |
2018-02-05 11:45 | pgs | Note Added: 46251 | |
2018-02-05 18:09 | zbm | Note Added: 46271 | |
2018-02-06 12:01 | ollehar | Status | resolved => closed |
2018-02-06 12:01 | ollehar | Fixed in Version | 3.1.x => 3.2.x |
2018-02-06 14:50 | zbm | Note Added: 46281 | |
2018-02-06 15:09 |
|
Note Added: 46283 | |
2018-02-08 02:57 | pgs | Note Added: 46301 | |
2018-02-13 16:53 | ollehar | Status | closed => new |
2018-02-13 16:53 | ollehar | Resolution | fixed => reopened |
2018-02-13 16:54 | ollehar | Note Added: 46411 | |
2018-02-13 16:59 | ollehar | Assigned To | markusfluer => |
2018-02-15 13:32 |
|
Note Added: 46522 | |
2018-02-15 13:32 |
|
Changeset attached | => LimeSurvey master a5565ec1 |
2018-02-15 13:32 |
|
Note Added: 46523 | |
2018-02-15 13:32 |
|
Assigned To | => markusfluer |
2018-02-15 13:32 |
|
Status | new => resolved |
2018-02-19 14:01 | ollehar | Relationship added | has duplicate 13340 |
2018-02-19 15:06 | ollehar | Status | resolved => closed |
2018-02-19 15:06 | ollehar | Fixed in Version | 3.2.x => 3.4.x |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-08-02 20:14 | guest | Bug heat | 20 => 22 |