Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to click on meta-bind fields when inside a callout #291

Closed
3 of 7 tasks
DaveHenning opened this issue Apr 9, 2024 · 2 comments
Closed
3 of 7 tasks

Unable to click on meta-bind fields when inside a callout #291

DaveHenning opened this issue Apr 9, 2024 · 2 comments
Labels
bug Undesired behavior caused by this plugin

Comments

@DaveHenning
Copy link

Please fill out these Check-boxes

  • I checked that the plugin is up to date
  • The issue persist with all other plugins and themes disabled

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Plugin Version

1.0.4

Describe the Issue

When inserting meta-bind inputs inside a callout, I am unable to click the input to edit. It begins to edit the callout instead.

I'm not sure if this is fixable, but I know I can click things inside callouts with the Tasks plugin, so I figured it was worth mentioning.

Steps to Reproduce

Create the following and try to edit it.

> [!info] 
> Walk (distance)
> ```meta-bind
> INPUT[number:walk_distance]
> ```
> 
> Vitamins
> ```meta-bind
> INPUT[toggle(defaultValue(false)):vitamins]
> ```

FWIW; clicking the toggle does work, but it still goes into edit the callout. Text input fields do not work as clicking the field to edit it causes the callout to go into edit mode.

Expected Behavior

The callout to stay in preview mode and allow for me to edit text fields.

@DaveHenning DaveHenning added the bug Undesired behavior caused by this plugin label Apr 9, 2024
@jdtzmn
Copy link

jdtzmn commented Jul 26, 2024

@mProjectsCode I'm having this same issue in version 1.1.3 on MacOS. This appeared after upgrading from a previous version.

@jdtzmn
Copy link

jdtzmn commented Jul 26, 2024

It seems the handleClick method is not being called anymore. When I added an event listener within my Obsidian application containing the lines of the previous fix, the issue went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants