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
MeasureSpec.EXACTLY prevents children past the bounds be drawn, and unfortunately using MeasureSpec.UNSPECIFIED results in the following error: A catalyst view must have an explicit width and height given to it.
Mapbox Implementation
Mapbox
Mapbox Version
11.9.0
React Native Version
0.76.5
Platform
Android
@rnmapbox/maps
version10.1.33
Standalone component to reproduce
Observed behavior and steps to reproduce
Children that are placed outside of a MarkerView's bounds (via absolute positioning) are clipped on Android. This issue is not present on iOS.
Expected behavior
Absolute positioned views should be drawn even past the MarkerView's bounds.
Notes / preliminary analysis
I'm not familiar with native development, but I believe the root of the issue is here:
maps/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewContent.kt
Lines 13 to 27 in 7fbc756
MeasureSpec.EXACTLY
prevents children past the bounds be drawn, and unfortunately usingMeasureSpec.UNSPECIFIED
results in the following error:A catalyst view must have an explicit width and height given to it
.Additional links and references
#3235
The text was updated successfully, but these errors were encountered: