Nova-Menu-Builder icon indicating copy to clipboard operation
Nova-Menu-Builder copied to clipboard

Adding Menu Items Causes Flashing and Loss of Focus

Open DerekBuntin opened this issue 5 years ago • 5 comments

On a fresh Laravel 6x install and the latest menu builder I can easily create a new menu but when adding a new menu item after each letter is added to an input field onkeyup the popup flashes and the input focus is removed so you need to click into the input field for each character, it does save afterwards.

DerekBuntin avatar Oct 22 '19 09:10 DerekBuntin

Got the same issue.

sytheveenje avatar Oct 25 '19 06:10 sytheveenje

I have the same issue as well. Very distracting when trying to edit the name or url on the modal, but copy and paste value works.

mythsam avatar Oct 27 '19 05:10 mythsam

Can confirm.

hofmannsven avatar Nov 03 '19 21:11 hofmannsven

I've been able to narrow this issue down to the modal being inside a <transition> tag. I'm not exactly sure what's going on but if I go into the dist/J's/tool.js file and change the transition element to a div, then the flashing and losing focus goes away.

I'll work on a PR over the next week or so.

hellozach avatar May 01 '20 05:05 hellozach

@hellozach Thank you very much for having a look at this!

hofmannsven avatar Jun 04 '20 19:06 hofmannsven