Coder Social home page Coder Social logo

Comments (3)

habansal avatar habansal commented on July 27, 2024 1

We will probably have to find a fix using the stylesheet

Indeed!
This issue is not specific to SPA, but a Page editor CSS issue.
Issue and fix are tracked internally in AEM via CQ-4259401

cc @pfauchere @samuelmeuli

from aem-spa-project-archetype.

pfauchere avatar pfauchere commented on July 27, 2024

A "root" container is expected by both the template and page editor. We will probably have to find a fix using the stylesheet

from aem-spa-project-archetype.

ittaibaratz avatar ittaibaratz commented on July 27, 2024

I ran into this issue too as I noticed my app had a big space at page top in AEM compared to webpack, and the solution I found was to delete the root node in CRX/DE.

If we have to keep the root node, we should check if we can avoid dumping it into the component hierarchy when rendering through AEM. Either way, rendering should be consistent between AEM and the webpack proxy.

from aem-spa-project-archetype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.