FlexLayout styles are getting added automatically when AOT complier ON not JIT...
Hi All, In my application using Angular 7, Angular Material & typescript and FlexLayout are latest version. The problem is FlexLayout styles are getting added automatically when AOT compiler ON not JIT compiler. When i turned off AOT compiler the styles are not added. Also tried to set flexlayout config FlexLayoutModule.withConfig({addFlexToParent: false}); but it doesn't help.
So, could please explain anyone why its applying only when AOT ON not in JIT ? and how to remove the automatically added styles? Thanks in Advance.
Please provide a minimal reproduction that we can investigate. This doesn't happen with our demo app.
@rmathi as a general rule.. use www.stackovweflow.com for questions.. if you have found a but and there is a template to fill out and follow when submitting a bug report then you should follow it :)
Not sure if this is the right place to add my thoughts, but I experienced also an issue with AOT.
Although I used:
FlexLayoutModule.withConfig(
{ disableDefaultBps: true }
),
there were still the default breakpoints besides my custom ones after building my project.
Therefore I had to remove AOT to make it work as expected.
"@angular/flex-layout": "^7.0.0-beta.23"
f you have found a but and there is a template to fill out and follow when submitting a bug report then you should foll
@mackelito Sure.. I will update it as per the template.
Not sure if this is the right place to add my thoughts, but I experienced also an issue with AOT. Although I used:
FlexLayoutModule.withConfig( { disableDefaultBps: true } ),there were still the default breakpoints besides my custom ones after building my project. Therefore I had to remove AOT to make it work as expected."@angular/flex-layout": "^7.0.0-beta.23"
@florian-badaluma Thanks for the Information. Here i couldn't remove the AOT. I have fix the issues by making parent as Flexlayout container but my question is why its happening only AOT not JIT and how to remove the automatically added styles?
I'm going to close this issue since it's been over a month since I asked for a minimal reproduction and none was provided. If this is a genuine issue, we can reopen.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.