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
This can be reproduced in the sample app if you use a feature layer with a lot of fields. The popup viewer will take up the whole height and any fields that don't fit are cut off and you cannot scroll.
You can also reproduce with the sample app if you put the PopupViewer in a grid that has a smaller height than the number of fields in the Ambulance feature layer.
I tried different settings on the parent layout (VerticalOptions) and tried recreating the PopupViewer each time and from code, adding it as a child to the layout.
What I want is a PopupViewer in a Frame that is about 80% of the height of the Android tablet. But my feature layers have a lot of fields so it is cutting them off since it will not scroll.
The text was updated successfully, but these errors were encountered:
Thanks Morten. I had tried that originally and had troubles. The problem is the scrollviewer needs to know the size of the PopupViewer. Each time I set the PopupManager field to a new value, the PopupViewer refreshes internally but its Height is still exposed as -1. The result is the scrollviewer does not scroll. My hack right now is to set the PopupViewer HeightRequest explicitly each time based on (numberOfFields * 42). Not ideal, there will be problems with this.
I think the PopupViewer would need to update its height each time the PopupManager is set for this to work.
Also, somewhat unrelated, how do you edit fields in the PopupViewer? AllowEdit on the PopupManager is true but not sure how to set it to edit mode.
Xamarin Forms 4.3, Android
This can be reproduced in the sample app if you use a feature layer with a lot of fields. The popup viewer will take up the whole height and any fields that don't fit are cut off and you cannot scroll.
You can also reproduce with the sample app if you put the PopupViewer in a grid that has a smaller height than the number of fields in the Ambulance feature layer.
I tried different settings on the parent layout (VerticalOptions) and tried recreating the PopupViewer each time and from code, adding it as a child to the layout.
What I want is a PopupViewer in a Frame that is about 80% of the height of the Android tablet. But my feature layers have a lot of fields so it is cutting them off since it will not scroll.
The text was updated successfully, but these errors were encountered: