Skip to content

Swipe on ionic menu doesn't works with swcMinify on start #31911

@Josyto

Description

@Josyto

What version of Next.js are you using?

12.0.4

What version of Node.js are you using?

16.13.0

What browser are you using?

Chrome, Firefox

What operating system are you using?

Windows 11

How are you deploying your application?

Vercel, next start

Describe the Bug

The swipe gesture of the '@ionic/react' menu only works in dev, when doing build and start stops working and blocks the animation of the menu. swcMinify option was enable in both cases.

The toggle button works in both dev and build.

Version
@ionic/react: "^5.9.1"

Expected Behavior

The swipe gesture should work correctly when doing build and start with the swcMinify option enabled

To Reproduce

https://github.com/Josyto/next-swc-ionic-menu

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions