enketo-core
enketo-core copied to clipboard
Not possible to search for location with hide-input
When using a geopoint
question with the hide-input
appearance, a large part of the text search box can't be clicked.
To reproduce:
- Deploy this form hide-input bug.xlsx
- Open EE form
- Click on the left side of the search bar (left of
address
)
Expected:
User is able to type in location
Instead:
User can't click. Needs to click further to the right to be able to type. This is more problematic on smaller screens or grid format forms where the search bar is less wide.
Background
This happens because the supposedly hidden map input div is still in the foreground, blocking the cursor. This could be fixed by adding a higher z-index
to .input-group
or applying display:none
to .geo-inputs
.
Tested on Chrome 76.0.3809.100 and Safari 12.1.2 (14607.3.9) EE. Test here: https://ee.humanitarianresponse.info/::E9Mm03Pc
That fix would be great. Especially when using Enketo in public self-fill suveys, where respondets are usally not familiar with Enketo they encounter exactly this.
- [ ] check non-Grid theme as well
- [ ] fix