neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.75k stars 147 forks source link

Portal.view.home.parts.Helix: test rendering the helix into an iframe #5509

Closed tobiu closed 1 week ago

tobiu commented 1 week ago
            items : [{
                module   : LivePreview,
                cls      : ['page-live-preview'],
                height   : '100%',
                reference: 'live-preview',

                value: [
                    "import IFrame   from '../component/IFrame.mjs';",
                    "import Viewport from '../container/Viewport.mjs';",
                    "",
                    "class MainView extends Viewport {",
                    "    static config = {",
                    "        className: 'Portal.view.MultiWindowHelix',",
                    "        layout   : 'fit',",
                    "",
                    "        items: [{",
                    "            module: IFrame,",
                    "            src   : '../../examples/component/multiWindowHelix/'",
                    "        }]",
                    "    }",
                    "}",
                    "",
                    "Neo.setupClass(MainView);"
                ].join('\n')
            }]
tobiu commented 1 week ago

tried it out, but am facing the same issues as before. in chrome only, the helix manages to even break out of the iframe boundaries:

Screenshot 2024-07-01 at 13 56 16

tobiu commented 1 week ago

fixed by: https://github.com/neomjs/neo/issues/5510