Hello! I recently started learning React.js and we are using the material-io CSS framework for our app development.
I have been assigned a task to create a dropdown menu that opens either upwards or downwards based on the position of the menu when accessed on a mobile device.
An example of what I am trying to achieve is similar to the Facebook video section where clicking on the (...) icon displays options determined by the screen position of the icon.
https://i.sstatic.net/Mx0IG.png
Example of Facebook bottom appearing]2
Facebook-like bottom navigation