Foundation-sites: Components reflow and lifecycle

Created on 1 Feb 2018  路  5Comments  路  Source: foundation/foundation-sites

It seems that for a lot of Foundation components, reflow and reInit are not properly supported. I'm making here a list of the issues related to this problem.

I identified some commons problems in these issues:

  • _reflow is not implemented in all components
  • _init and _reflow does not update the options list
  • reInit/reflow are not well documented

What do you think ? @colin-marshall @brettsmason @IamManchanda @JeremyEnglert @Owlbertz

javascript question

All 5 comments

I think you can add #10898 to that list. Taking care of all these is probably something we should tackle for 6.5?

Can we solve most of the easily?

I think there's nothing _difficult_ here, but it will take a long time to resolve. We need to go over all components, re-enable a full "reflow" support for all options and everything relying on them. This includes templates, events...

Is there an update on this or a workaround until it's fixed?

So far no updates and I'm not aware of better workarounds then reinitializing, destroying and refreshing Foundation components.

Was this page helpful?
0 / 5 - 0 ratings