data-target with multiple target doesn't work
Created by: stassinari
When trying to use multiple targets with the data-target attribute, it seems like only the first one is triggered and the remaining ones are discarded. This happens with either a class targeting multiple elements, or with multiple IDs as attribute value.
I've created two pens on CodePen to reproduce the behaviour. The HTML is identical, but the configuration points to different Bootstrap versions:
v4 with bug: http://codepen.io/stassinari-andiamo/pen/jqvgPW v3 working: http://codepen.io/stassinari-andiamo/pen/dMqxYj
There's a (closed) issue raised for version 3.2.0 (#18342 (closed)), where another user finds this behaviour in v4. There's a snippet of code in there, pointing to the actual JS code responsible for the handling.
I hope this feature will be kept (unlike @cvrebert), because being able to target multiple elements without the use of JavaScript is a nice feature, IMO.