-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
Android API 35
Library Version: 6.1.1
Steps to reproduce
- Create a GoogleMap composable with a Clustering composable inside of it.
- The Clustering's ItemContent and ClusterContent params are setup with custom composables which have their
contentDescriptionset to different texts(i.e. for cluster: "Cluster of x items" and for markers "Marker with y title"). - Activate Talkback on the Android OS.
- Run the app
- Try to select a cluster or a marker
- Actual result: Talkback says "Map Marker" instead of the expected "Cluster of x items"/"Marker with y title"
Code example
This is an example how we have setup the renderer for the Clustering:
val renderer = rememberClusterRenderer(
clusterContent = { cluster ->
ClusterContent(
numberOfItems = totalItemCount,
isSelected = isSelected
)
},
clusterItemContent = { mapItemGroup ->
if (isStacked()) {
StackedMarkerContent(
items = items,
)
} else {
CustomItemMarkerContent(
item = items.first()
)
}
},
clusterManager = clusterManager
)
Please note that i've noticed that in the top left corner of the map there are some invisible marker/cluster views which are selectable by talkback and those have the content description correctly read by talkback.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.