W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: Sticky Positioning

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 28 Jun 2012 13:27:17 -0700
Cc: Ojan Vafai <ojan@chromium.org>, Edward O'Connor <eoconnor@apple.com>, www-style@w3.org, James Robinson <jamesr@chromium.org>
Message-id: <8ECF9296-05C5-4641-ADD5-E42D6A8BA65D@apple.com>
To: Alexandre Elias <aelias@chromium.org>

On Jun 27, 2012, at 11:48 AM, Alexandre Elias <aelias@chromium.org> wrote:

> I was also discussing this with jamesr just last week, we definitely agree the problem needs addressing.
> 
> Like Ojan, I prefer a "position-contain" type approach as it's more general.  For an example of a site that would benefit, if you visit http://google.com/ on a phone and tap "Restaurants", you'll get to a search results view with a fixed-positioned map with the "sticky"-style behavior (simulated in JS).  Observe that the map drops out of view when you reach the bottom of the page, which I don't think is expressible by "sticky".

Sounds like a very interesting use case! I'd really like to check it out to understand it. But I was unable to replicate the behavior you described on my iPhone. The map did not stick. Is there something else I can try to see the example?

Cheers,
Maciej
Received on Thursday, 28 June 2012 20:27:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT