not scroll when using dynamic component
See original GitHub issuei am using dynamic component with v-for items
<div v-if="MessageList" v-for="item in MessageList">
<component
:messageItem=item
:is="item.componentName"
v-show="calcForFilter(item)"
>
</component>
</div>
and each component has a modal that reference to another component
<div
v-if="messageIDForProperty_MessageListModal"
:id="'messageList_'+ messageIDForProperty_MessageListModal"
class="modalMessageList modal fade"
tabindex="-1" role="dialog"
aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">ثبت پیام</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div :id="'modal-content_'+messageIDForProperty_MessageListModal">
<component
is="messageList"
:taskItem="taskItemForProperty_MessageListModal"
:messageID="messageIDForProperty_MessageListModal"
:key="messageIDForProperty_MessageListModal"
>
</component>
</div>
</div>
</div>
</div>
scroll work correctly on the first component that i test it… on the others component not work… for example if i open first component modal,the second one not work…
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to overflow: 'scroll' for dynamically created components
When the height of the container is exceeded by the newly created items, I want the container to become scrollable in the Y...
Read more >4 Ways to Listen to Page Scrolling for Dynamic UI in Angular ft ...
Just pass it a string ('window') as the first parameter. Then you can update the Y position through the callback function which will...
Read more >Problem with Dynamic Component Extension - Discuss
I have created several Horizontal Scroll Arrangements on top of a Vertical Scroll Arrangement according to the number of elements in a list....
Read more >Scroll Control of Guides, Configuring Components Webix Docs
Scrolling and Dynamic Loading. With dynamic loading, only part of the stored records are loaded into the component during initialization. Each time you...
Read more >Prototype scrolling with overflow behavior - Figma Help Center
It's not possible to position scrolling objects above fixed layers. To create a fixed object: Select the object, group or component in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks a lot @rigor789
You can change the selector yourself to target the container
Any valid css selector should work.