When implementing a pop-up, the view in which it is hosted is altered. The view should only be as big as its container, but when the pop-up is implemented, it shifts to the top leading position, modifying the view itself.
Steps to Reproduce
Create a small view:
Create a view that is relatively small.
Implement the pop-up:
Add the pop-up to the small view.
Observed Behavior
If the view is small, the pop-up is positioned at the top leading.
If the view is not small, the pop-up is centered.
This change does not affect the behavior of the pop-up but modifies the position of the view.
Suggested Solution
Wrap the view in a container to protect its location and size, especially if the view is small. This might be an edge case, as most developers will implement a full view to start their application, but it's worth noting that the original view is modified.
Issue Description
When implementing a pop-up, the view in which it is hosted is altered. The view should only be as big as its container, but when the pop-up is implemented, it shifts to the top leading position, modifying the view itself.
Steps to Reproduce
Observed Behavior
Suggested Solution
Wrap the view in a container to protect its location and size, especially if the view is small. This might be an edge case, as most developers will implement a full view to start their application, but it's worth noting that the original view is modified.