Issue #467πŸ’¬ AnsweredOpened October 31, 2017by perfect-coders0 reactions

Set the focus to some other element

Quick answerby artf

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

Read full answer below ↓

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)

artfβ€’ October 31, 2017

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

perfect-codersβ€’ October 31, 2017

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.

artfβ€’ October 31, 2017

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.