Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Formatter erasing comments #663

Closed
nireno opened this issue Sep 28, 2022 · 0 comments · Fixed by #664
Closed

Formatter erasing comments #663

nireno opened this issue Sep 28, 2022 · 0 comments · Fixed by #664
Labels
bug Something isn't working

Comments

@nireno
Copy link

nireno commented Sep 28, 2022

The formatter is usually kind to comments but on line 81 in this example:

<Swiper8
      tag="section"
      id="swiper-example"
      \"aria-label"="Example Content"
      loop=true
      allowTouchMove=true
      spaceBetween=20
      slidesPerView=3.5
      autoHeight=true
      ref={ReactDOM.Ref.domRef(swiperRef)}
      onInit={swiper => {
        Swiper8.fixA11y(swiper)
      }}
      onSlideChange={swiper => {
        Swiper8.fixA11y(swiper)
      }}
      // onSlideChangeTransitionEnd={swiper => {
      //   Swiper8.fixA11y(swiper)
      // }}
      > ... </Swiper8>

it gets hungry and eats the comment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants