News for hackers. Stuff that matters.
Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by joakleaf on Friday December 09, 2016 @11:09AM (#13139519)
I needed "sticky" today for a table header that I want to keep visible as the user scrolls on the page...

Works already in Safari, but alas only in Chrome Beta.

It is a lot simpler and more robust than the Javascript approaches I found.

Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by JadeNB on Saturday December 10, 2016 @05:45AM (#13145071)
> I needed "sticky" today for a table header that I want to keep visible as the user scrolls on the page...

Note that what you want is different from what the user wants. I am not alone in thinking that stickies never add value, no matter how convenient the designer thinks they are: https://alisdair.mcdiarmid.org/kill-sticky-headers .

Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by TheAceOfHearts on Tuesday December 13, 2016 @02:39AM (#13165209)
I generally agree with you, but I'd argue there's good use-cases for it. I hate it when sites feel the need to add a top and bottom navbar on my already small mobile device. But on the other hand, when I'm on my desktop using a web app that displays large tables (which is pretty common for me), it's really easy to confuse the column you're looking at. In cases like that, I like having the table headers visible at all time.
Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by JadeNB on Tuesday December 13, 2016 @10:45AM (#13167590)
I have never, mobile or desktop, seen any use case for it that I like, although I also don't do much mobile browsing; but it is fair to say that my personal preference shouldn't be what determines the future, or even the present, of web design! Despite that, I do think that it is fair to say that designers are much more enamoured of them than users are.

(It's always refreshing how civil disagreements on HN can be. Thank you for your thoughtful reply!)

Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by nitwit005 on Friday December 09, 2016 @06:50PM (#13142935)
It's also broken for tables in Firefox despite it reporting that it supports the style: https://bugzilla.mozilla.org/show_bug.cgi?id=975644
Re:Chrome 56 Beta: “Not Secure” Warning, Web Bluetooth, and ... by TylerH on Monday December 12, 2016 @02:03AM (#13156198)
position-sticky is still only conditionally supported in Firefox' environment, and IIRC still only behind a flag.