luci-base: Correct how textarea's wrap works
- [x] This PR is not from my main or master branch :poop:, but a separate branch :white_check_mark:
- [x] Each commit has a valid :black_nib:
Signed-off-by: <[email protected]>row (viagit commit --signoff) - [x] Each commit and PR title has a valid :memo:
<package name>: titlefirst line subject for packages - [ ] Incremented :up: any
PKG_VERSIONin the Makefile - [x] Tested on: (aarch64_cortex-a53/x86, OpenWrt23.05.3, Chrome/Edge/Vivaldi) :white_check_mark:
- [ ] ( Preferred ) Mention: @ the original code author for feedback
- [ ] ( Preferred ) Screenshot or mp4 of changes:
- [ ] ( Optional ) Closes: e.g. openwrt/luci#issue-number
- [ ] ( Optional ) Depends on: e.g. openwrt/packages#pr-number in sister repo
- [x] Description: (describe the changes proposed in this PR)
Currently the wrap flag of textarea doesn't works properly, this PR fix it. Reference
@dannil @stokito I thought you might have a better understanding about this than I have.
@morytyann please update your commit and initial PR message once done
According to MDN, off is a non-standard solution so we should at least not use that one if possible if we're fixing the wrap behavior anyway.
@dannil I checked and it works fine in both Chrome and FF:
https://codepen.io/pcgeek86/pen/ywgWRb
@dannil I checked and it works fine in both Chrome and FF:
https://codepen.io/pcgeek86/pen/ywgWRb
Nice, then it should be fine to merge it.
Ok, thank you @dannil and @stokito!
Thanks @morytyann.