In new version v 5.3.0 (ol map library) Changed behavior attribution. Before I had icon "i" and under it all attribution for displayed layers.
Now I have some flattened info.
Developers gave instructions to use the previous behavior:
Attributions are not collapsible for
ol/source/OSMWhen a map contains a layer from a
ol/source/OSMsource, theol/control/Attributioncontrol will be shown with the ``collapsible: false` behavior.To get the previous behavior, configure the
ol/control/Attributioncontrol withcollapsible: true.
But how to achieve this?


The same way as
collapsible: falsewas specified in previous versions (note that it has always been a terms of use requirement of OSM and some other sources that attributions are always visible when their tiles are used on a public facing site)or if you are using the full build: