logoalt Hacker News

leonhard04/01/20253 repliesview on HN

I really like the approach but the demo [0] doesn’t really work on iOS Safari (although might be my outdated 16.7.8 version). Scrolling doesn’t work, the layout and buttons have weird line breaks, the native search button is embedded in the custom designed one, leading to 2 icons…

[0] https://mpa.nuejs.org/app/


Replies

aziaziazi04/01/2025

Scrolling works now on iOS safari! That was a quick fix. Thanks to the author (and bug reporter!)

show 1 reply
Timon304/01/2025

The author is using a trick they've used in almost every past submission: They implement much less than the component they compare themselves to, and then show how much smaller their own solution is.

show 2 replies
jampekka04/01/2025

Page height/vertical scrolling is also broken in both Chrome and Firefox on Android. On FF the comment box gets hidden under the menu bar.

Probably the page height gets forced with percentage or vh, which should be usually avoided. If forcing is wanted, svh or dvh should be used.