{"action":"created","issue":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2810","labels_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2810/labels{/name}","comments_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2810/comments","events_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2810/events","html_url":"https://github.com/marionettejs/backbone.marionette/issues/2810","id":115289558,"number":2810,"title":"Region selectors may not be sudo classes","user":{"login":"miphe","id":393147,"avatar_url":"https://avatars.githubusercontent.com/u/393147?v=3","gravatar_id":"","url":"https://api.github.com/users/miphe","html_url":"https://github.com/miphe","followers_url":"https://api.github.com/users/miphe/followers","following_url":"https://api.github.com/users/miphe/following{/other_user}","gists_url":"https://api.github.com/users/miphe/gists{/gist_id}","starred_url":"https://api.github.com/users/miphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miphe/subscriptions","organizations_url":"https://api.github.com/users/miphe/orgs","repos_url":"https://api.github.com/users/miphe/repos","events_url":"https://api.github.com/users/miphe/events{/privacy}","received_events_url":"https://api.github.com/users/miphe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-05T14:04:09Z","updated_at":"2015-11-06T07:02:29Z","closed_at":null,"body":"In the following case, we create two regions for a LayoutView.\r\n\r\n```javascript\r\nvar layoutView = Mn.LayoutView.extend({\r\n  // code ....\r\n  regions: {\r\n    'section-1': 'section:first',\r\n    'section-2': 'section:nth-child(2)'\r\n  }\r\n})\r\n```\r\n\r\nIf we later show ItemViews in these regions, they don't act as expected.\r\n\r\n```javascript\r\nlayoutView.getRegion('section-1').show(someItemViewInstance)\r\nlayoutView.getRegion('section-2').show(someOtherViewInstance)\r\n```\r\nIt seems that `someOtherViewInstance` will override whatever view was rendered in the previous region, as if Marionette believes they are both to be rendered in the same region, or that there are two regions which are referring to the same place in the DOM.\r\n\r\nDoes this work as intended? I haven't seen any note about it anywhere."},"comment":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/comments/154330348","html_url":"https://github.com/marionettejs/backbone.marionette/issues/2810#issuecomment-154330348","issue_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2810","id":154330348,"user":{"login":"paulfalgout","id":2028470,"avatar_url":"https://avatars.githubusercontent.com/u/2028470?v=3","gravatar_id":"","url":"https://api.github.com/users/paulfalgout","html_url":"https://github.com/paulfalgout","followers_url":"https://api.github.com/users/paulfalgout/followers","following_url":"https://api.github.com/users/paulfalgout/following{/other_user}","gists_url":"https://api.github.com/users/paulfalgout/gists{/gist_id}","starred_url":"https://api.github.com/users/paulfalgout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulfalgout/subscriptions","organizations_url":"https://api.github.com/users/paulfalgout/orgs","repos_url":"https://api.github.com/users/paulfalgout/repos","events_url":"https://api.github.com/users/paulfalgout/events{/privacy}","received_events_url":"https://api.github.com/users/paulfalgout/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T07:02:29Z","updated_at":"2015-11-06T07:02:29Z","body":"ah I'm sorry, I should have said `onRender` not `initialize`  does it show the correct selector there?  And maybe a jsfiddle would help as well."}}