enketo-core icon indicating copy to clipboard operation
enketo-core copied to clipboard

Not possible to search for location with hide-input

Open tinok opened this issue 5 years ago • 2 comments

When using a geopoint question with the hide-input appearance, a large part of the text search box can't be clicked.

To reproduce:

  1. Deploy this form hide-input bug.xlsx
  2. Open EE form
  3. 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. image

Tested on Chrome 76.0.3809.100 and Safari 12.1.2 (14607.3.9) EE. Test here: https://ee.humanitarianresponse.info/::E9Mm03Pc

tinok avatar Aug 21 '19 14:08 tinok

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.

SchlennoB avatar Jan 10 '21 17:01 SchlennoB

  • [ ] check non-Grid theme as well
  • [ ] fix

MartijnR avatar Jan 11 '21 18:01 MartijnR