We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods like append and prepend won't drop elem cache as there's a few issues:
append
prepend
dropElemCacheQueue is set to undefined for custom context here https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L970 but it's expected to be mutated at https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L974
dropElemCacheQueue
undefined
Only DOM nodes with i-bem class are taken into account here https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L973
i-bem
Only entities mentioned in data-bem affect cache (see https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L101).
data-bem
The text was updated successfully, but these errors were encountered:
Drop elem cache is broken on init() call
6252c54
Close #1487
veged
No branches or pull requests
Methods like
append
andprepend
won't drop elem cache as there's a few issues:dropElemCacheQueue
is set toundefined
for custom context here https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L970 but it's expected to be mutated at https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L974Only DOM nodes with
i-bem
class are taken into account here https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L973Only entities mentioned in
data-bem
affect cache (see https://github.com/bem/bem-core/blob/v4/common.blocks/i-bem-dom/i-bem-dom.js#L101).The text was updated successfully, but these errors were encountered: