Issue #467Opened October 31, 2017by perfect-coders0 reactions

Set the focus to some other element

Question

I am opening a pop up on click o some element, but the focus is still on the element on which I click. I want to focus the pop up element. Is there any way in grapesjs ?

Answers (3)

artfOctober 31, 20170 reactions

Which popup are you talking about? The built-in modal?

perfect-codersOctober 31, 20170 reactions

I have make one custom pop up in grapejs and opening on element click. So I want when user click on the element , a pop up will open and the pop will be selected by default. Now what happens, I am opening a pop up element on click of link element, the pop up will show, but the control will be still on the link element, I want the control to be shifted to the pop up div.

artfOctober 31, 20170 reactions

well, if it's your custom popup I think it's up to you managing the focus

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.