danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
199 stars 17 forks source link

[BUG] [REGRESSION] Old larger slider ui #314

Open seomwan opened 3 weeks ago

seomwan commented 3 weeks ago

Describe the bug One of the previous versions had a large slider input that was easily draggable. This is no longer the case

To Reproduce Steps to reproduce the bug:

  1. Create a form with a Slider type component (I used 1 to 99 as range)
  2. Run the form (with QuickAdd for example)
  3. View on mobile

Actual behavior

A small slider is shown (similarly on desktop)

Expected behavior

A large slider filling the width of the screen is shown

Additional context

Some time during one of the previous updates of either Obsidian or Modalform, the slider changed from a large ui to the tiny one that's currently shown on Android and Windows. The new one is extremely hard to use. Don't know if this was due to a change in Obsidian (Electron update?) or Modal forms

seomwan commented 3 weeks ago

Alternatively, I need a better way to (very quickly!) input numbers in the range from 1 to 99. I suppose changing to a number field means I'd need to do 4 clicks (touches) instead of one. That may be better than the current imprecise way, but not as fast

danielo515 commented 3 weeks ago

Can you provide an screenshot of how it looks? I didn't noticed any change. This is how it looks in my mobile phone image

seomwan commented 3 weeks ago

@danielo515 that is how it looks like now. But it wasn't how it looked like in the past.

I don't have a screenshot for what that used to look like unfortunately, only a description from my memory. It filled the whole width, instead of just a small part, and I think the knob was green and square.

This made me realize there's yet another possibility: the theme that I was using (minimalist theme) might have changed. This probably happened in a major Obsidian UI change. Possibly Obsidian 1.6 or 1.5. Sorry that I'd been so late in reporting this!

danielo515 commented 2 weeks ago

Nah, don't worry. I also noticed the regression, but I was not sure if it was going to be a problem. Will it be better if (on mobile) the bar is pushed to the next "line" and takes the full width?

On Thu, Aug 22, 2024 at 10:37 PM seomwan @.***> wrote:

@danielo515 https://github.com/danielo515 that is how it looks like now. But it wasn't how it looked like in the past.

I don't have a screenshot for what that used to look like unfortunately, only a description from my memory. It filled the whole width, instead of just a small part, and I think the knob was green and square.

This made me realize there's yet another possibility: the theme that I was using (minimalist theme) might have changed. This probably happened in a major Obsidian UI change. Possibly Obsidian 1.6 or 1.5. Sorry that I'd been so late in reporting this!

— Reply to this email directly, view it on GitHub https://github.com/danielo515/obsidian-modal-form/issues/314#issuecomment-2305586873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWMRNJIRJ4JSCXJFH6TZSZDXVAVCNFSM6AAAAABM5IRXIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGU4DMOBXGM . You are receiving this because you were mentioned.Message ID: @.***>

--

https://danielorodriguez.com

seomwan commented 1 week ago

Will it be better if (on mobile) the bar is pushed to the next "line" and takes the full width?

Btw, in case it wasn't obvious from the reaction, I meant yes, it would help. Ultimately, my goal is inputting 2 digit numbers as fast as possible on mobile, so if there's an alternative, that works too!