GeneralMagicio / GeneralMagicio/worldview-fe

fixing pop-up modals behaviour

Open
#102 5 comments 0 reactions 1 assignee Claimed by @RamRamez View on GitHub
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

android
google pixel pro 7

some of the pop-up modals appear to behave a bit strange, it might be according to different constraints but I think we can optimize them to look better..

# worldview explainer info modal
this modal appears to be too big to fit on my screen when I open it, it looks like the top and bottom are cut off , I cannot scroll the modal either. it seems to be limited by the size of the parent component, such as the poll details page's length on the screen, in some cases I cannot even see or touch the okay button to close it

![Image](https://github.com/user-attachments/assets/82071523-f70c-4492-8773-184cf6abe9c1)

## solution suggestion
we need to ensure that this component can take up all the space it needs from the top of the mini-app header to the bottom of the user's screen, not limited by the size of the poll details component.

# voting success modal
on polls that have lots of options the page is then quite long - when the success modal shows it can show in area barely visible to the user, the user would need to scroll to find where it is

https://github.com/user-attachments/assets/698f1f46-ff3a-45f4-85f5-ae46b6b07d46

## solution suggestion
make modal position absolute inside of parent component

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.