You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the use case that you aren't able to accomplish? The wrapper div will size itself to its parent. So the parent div that you provid, wrapping this component, can be sized/styled however you like. If this isn't enough though, then I think its fine to add props for inline styles to map-interaction.
Well use case is quite simple, I have a component that takes up height of its direct parent. So all I needed to do was give the wrapper view a height property in css and that was that.
I mean just giving classNames to the divs won't hurt anything.
I solved it by just copying content from MapInteractionsCss and updating that one css line.
The ability to modify the wrapper style through classes or style props is useful when the container has its display set to flex, for instance (I ran into this right now, but maybe there are some other examples). In that case, the children of MapInteractionsCSS won't be affected affected by the wrapper's width or height
I think library adds two wrapper divs. Both of them have inline style and they have no classname or id given to them.
The text was updated successfully, but these errors were encountered: