autofocus on opening browser_action popup

Martin Giger martin at humanoids.be
Wed Nov 1 11:59:48 UTC 2017


Hi Lenz

I believe the related bug would be
https://bugzilla.mozilla.org/show_bug.cgi?id=1324255

Martin


On 01.11.2017 12:52, Lenz Weber wrote:
> Hi there,
>
> I'm trying to auto-focus an input element as soon as the browser_action
> popup is opened - so far without success.
>
> Focus is only obtained by manually clicking into the popup or doing a
> double-tab. Also, other plugins seem to have the same problem -
> unfortunately, their workaround of calling .focus() after a setTimeout
> of ~100ms does not seem to work for me. (see
> https://github.com/dannyvankooten/browserpass/issues/155 )
>
> Is this a known limitation, am I missing something obvious or is this a
> bug I should report somewhere?
>
>
> Kind Regards,
> Lenz
>
> _______________________________________________
> Dev-addons mailing list
> Dev-addons at mozilla.org
> https://mail.mozilla.org/listinfo/dev-addons


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.mozilla.org/pipermail/dev-addons/attachments/20171101/2412a97b/attachment.sig>


More information about the Dev-addons mailing list