In case your app have to display a lot of text inputs with an emoji popup attached to it, it may surchage the DOM tree...
Using portal would render a unique popup for all the togglers on the page.
so a toggler would open the same popup and just move this popup to its position.
In case your app have to display a lot of text inputs with an emoji popup attached to it, it may surchage the DOM tree... Using portal would render a unique popup for all the togglers on the page. so a toggler would open the same popup and just move this popup to its position.