Viewing 3 posts - 1 through 3 (of 3 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)

    • This topic was modified 2 years, 10 months ago by Joseph Norris.
    • This topic was modified 2 years, 10 months ago by Joseph Norris.
    #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/

    #112182
    craftedleathersshop
    Participant

    A womens wool coat is a timeless wardrobe essential that combines warmth style and sophistication. Crafted from high quality wool it offers superior insulation while keeping you chic and cozy. Perfect for chilly days, it elevates any outfit with a touch of elegance.

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