Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #103163
    Joseph Norris
    Blocked

    After a great deal of teeth gnashing (a common issue with your product), I discovered the –smart-accordion-item-header-height defaults to zero. As does –smart-accordion-expanded-content-height (which can’t be changed from a style tag).
    This means when the code sample pulled from your site is used as written, the accordion does not render. You might want to work on that.

    The tab according sample code also fails with an error of:
    Type ‘{ children: Element; index: number; label: string; }’ is not assignable to type ‘IntrinsicAttributes & IntrinsicClassAttributes<AccordionItem> & Readonly<HTMLAttributes<Element> & AccordionItemProps> & Readonly<…>’.
    Property ‘index’ does not exist on type ‘IntrinsicAttributes & IntrinsicClassAttributes<AccordionItem> & Readonly<HTMLAttributes<Element> & AccordionItemProps> & Readonly<…>’.ts(2322)

    #103172
    admin
    Keymaster

    Hi Joseph Norris,

    -–smart-accordion-item-header-height defaults to 48px everywhere in our code. The -–smart-accordion-expanded-content-height is 0 by design as it is automatically calculated when the control is created. If there is any sample which does not run, please point it out and we will check it. All the samples available online are using the latest version of the sources and styles.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.