rotundasoftware / backbone.collectionView

Easily render backbone.js collections. In addition to managing model views, this class supports automatic selection of models in response to clicks, reordering models via drag and drop, and more.
http://rotundasoftware.github.io/backbone.collectionView/
Other
171 stars 27 forks source link

CSS spurious border on outer collection item #36

Closed mulderp closed 10 years ago

mulderp commented 10 years ago

Hmm.. not sure, where this issues comes from, but I see a strange "selected" border on the outer div of the CollectionView:

http://backbone-like.herokuapp.com/#

When a genre is selected, the outer border of the ul seems to receive a border from selected also.

Will check later what's going on, but maybe others can confirm that there are CSS properties that can cause this.

Thanks!

go-oleg commented 10 years ago

Looks like its styled that way by the browser via the :focus selector. You can prevent that by using:

ul.collection-list:focus {
  outline: none;
}

See the styling section of the readme for more info.