R
R
Roman2020-06-12 16:31:31
1C-Bitrix
Roman, 2020-06-12 16:31:31

Styles and scripts not loading in the Bitrix slider?

Good afternoon!

It is necessary to open the page in the Sidepanel slider, I use BX.SidePanel.Instance.open(params) for this purpose. The landing page contains a component that uses grids.

I noticed that neither styles nor scripts are loaded in the slider.
Bitrix\Main\Page\Asset doesn't help either.

Moreover, the styles/scripts of the component template are also not loaded unless they are stupidly added to the page with the style and script tags.

Please, is there a way to fix this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2020-06-15
@gromdron

To display your component, use bitrix:ui.sidepanel.wrapper
Your error follows from the fact that you do not know exactly how the slider works in iframe mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question