Okuyun / Kuran

https://okuyun.github.io/Kuran/
6 stars 3 forks source link

Arabic root is not used in search dialog #34

Closed maeyler closed 1 year ago

maeyler commented 1 year ago

reported by @cpenbe

maeyler commented 1 year ago

V4.6f fixes the first issue: Arabic is recognized in search dialog

Additional check buttons is not a good solution, there should be an easier way

maeyler commented 1 year ago

Solution in V4.6h: A single check button that moves with the focus

image

For each input element x: x.onfocus = e => e.target.after(checkMark) checkMark.onclick = Enter key on checkMark.previousSibling

As a side benefit, <input type=search> adds a tiny clear button

HTML has interesting little details :)