You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is 2 parts of this code
1, render a list for modification of each item
2, render an additional input for adding items
in the second situation, there is no problem
but in the first one, I cannot type in any text
especially speaking
when i am using English input method, cursor will loss focus of the input element after one letter typed in.
when i am using 'Simplified Chinese' input method, I cannot type in any letter, even in English mode.
// import { open } from '@tauri-apps/plugin-dialog';
after i stop using this plugin, everything works fine
but if i uncomment this, even i dont use it, it will cause the bug.
Reproduction
Input Value Update Issue:
When typing content into the input fields, the input values do not update.
This issue only occurs after importing '@tauri-apps/plugin-dialog', where the input fields are rendered. The input field in the second part of the code does not have this problem.
Input Method Issue:
When using the English input method, the cursor loses focus after typing one letter.
When using the Simplified Chinese input method, no characters can be typed into the input field, even when switching to the English mode.
Tauri Plugin Issue:
When the @tauri-apps/plugin-dialog plugin is imported, the above two issues occur, even if the plugin is not used.
If the code importing the plugin is commented out, the problem is resolved.
Describe the bug
the basic component of ehat i gonna say is like:
In react, after typing in something, value will change.
now see this:
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-dialog": "~2",
"react": "^18.2.0",
The function of this code
there is 2 parts of this code
1, render a list for modification of each item
2, render an additional input for adding items
in the second situation, there is no problem
but in the first one, I cannot type in any text
especially speaking
when i am using English input method, cursor will loss focus of the input element after one letter typed in.
when i am using 'Simplified Chinese' input method, I cannot type in any letter, even in English mode.
after i stop using this plugin, everything works fine
but if i uncomment this, even i dont use it, it will cause the bug.
Reproduction
Input Value Update Issue:
When typing content into the input fields, the input values do not update.
This issue only occurs after importing '@tauri-apps/plugin-dialog', where the input fields are rendered. The input field in the second part of the code does not have this problem.
Input Method Issue:
When using the English input method, the cursor loses focus after typing one letter.
When using the Simplified Chinese input method, no characters can be typed into the input field, even when switching to the English mode.
Tauri Plugin Issue:
When the @tauri-apps/plugin-dialog plugin is imported, the above two issues occur, even if the plugin is not used.
If the code importing the plugin is commented out, the problem is resolved.
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: