Places Autocomplete JS - New pac-container markup returned today, .pac-unselected is gone

643 views
Skip to first unread message

Johannes Schill

unread,
Jul 4, 2011, 7:23:33 AM7/4/11
to google-map...@googlegroups.com
Hello!

I got some reports about our autocompleter looking bad and it seems like if the markup returned has changed? Now it looks like this:

<div class="pac-container">
  <div class="pac-item"> ..... </div>
</div>

So it seems like if the .pac-unselected has been removed? Are there other changes?

Cheers,
Johannes

Luke Mahé

unread,
Jul 4, 2011, 6:53:30 PM7/4/11
to google-map...@googlegroups.com
Hi Johannes,

The release notes should go out soon, but here is the update for the autocomplete container styles. Instead of toggling pac-unselected and pac-selected, now all suggestions are given the class pac-item and when one is selected it is also given the class pas-selected.

We felt this would lead to cleaner and easier to maintain CSS for the developer.

-- Luke


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/I5CRYOp-C5UJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply all
Reply to author
Forward
0 new messages