Jump to content

[solved] iframe and admin edit link - textarea not working/no focus possible


zoeck
 Share

Recommended Posts

Hello,

I have a very strange problem which I first noticed with the "FEEL" module. (Current Master Version ProcessWire 3.0.184 - clean install, blank profile, without any none core modules)

When an admin edit link is opened in an iframe (with or without "&modal=1"), textarea fields (not CKEditor!) don't work correctly anymore or can't be focused.
The previously selected field is always focused.

After collapsing the "previously selected field", the textarea is working again.
If the problem occurs, it is also no longer possible to press the save button.

A little screencast:
spacer.png

 

The other fields work without problems!

On the corresponding page there are no javascripts and no styles included.

If you open the page without iframe, everything works.

I was able to reproduce the problem in Edge and Firefox.

Can anyone else reproduce the problem?

 

Field Config:

{
    "cmn_longtext": {
        "id": 231,
        "name": "cmn_longtext",
        "label": "Textfeld",
        "flags": 0,
        "type": "FieldtypeTextarea",
        "tags": "Allgemein",
        "inputfieldClass": "InputfieldTextarea",
        "textformatters": [
            "TextformatterEntities"
        ],
        "contentType": 0,
        "htmlOptions": "",
        "collapsed": 0,
        "showIf": "",
        "themeInputSize": "",
        "themeOffset": "",
        "themeBorder": "",
        "themeColor": "",
        "themeBlank": "",
        "columnWidth": 100,
        "required": "",
        "requiredAttr": "",
        "requiredIf": "",
        "minlength": 0,
        "maxlength": 0,
        "showCount": 0,
        "stripTags": "",
        "placeholder": "",
        "rows": 5
    }
}

Can someone help me ??

Thanks!

Link to comment
Share on other sites

Oh my God, I was able to "solve" the problem. Just checked this function with a user on his PC and the problem did not occur.

It is caused by the "Enpass" (password manager) plugin from the browser.

After disabling the "Passwort Manager Popup Function", everything is working again ?

 

I think it's a known Problem: https://discussion.enpass.io/index.php?/topic/27897-enpass-browser-extension-steals-focus-in-webform-when-using-iframes/

  • Like 1
Link to comment
Share on other sites

  • zoeck changed the title to [solved] iframe and admin edit link - textarea not working/no focus possible

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...