This topic was marked solved by its starter, on March 16th, 01:40 AM
sb refresh does not update scrollbar

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
sb refresh does not update scrollbar
« on April 30th, 2012, 07:22 AM »
The scrollbar is not updated when refreshing the select box object when it contains a dozen items. Since the scrollbar variable is set on the open event, it just needs cleared when refreshing.

Arantor

  • With a Box
  • I'm a shooting star leaping through the skies, like a tiger defying the laws of gravity...
  • Posts: 14,006
Re: sb refresh does not update scrollbar
« Reply #1 on April 30th, 2012, 02:40 PM »
Shouldn't it do that on re-calling .sb() anyway? I've never seen a problem with it misbehaving when calling .sb()...
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #2 on May 1st, 2012, 12:03 AM »
How many options do you have in your test case?

Arantor

  • With a Box
  • I'm a shooting star leaping through the skies, like a tiger defying the laws of gravity...
  • Posts: 14,006
Re: sb refresh does not update scrollbar
« Reply #3 on May 1st, 2012, 12:13 AM »
I can't remember to be honest :/ Probably no more than 10 though.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #4 on May 1st, 2012, 12:58 AM »
You won''t notice, then. Try it with 12 - 15 options.

Nao

  • Madman
  • With a Box
  • If you say so.....
  • Posts: 13,078
Re: sb refresh does not update scrollbar
« Reply #5 on May 1st, 2012, 03:11 PM »
The scrollbar was a last minute addition o I wouldn't be surprised that it doesn't work as expected here. I'll have to check once I'm done with the mega commit and my rest time in the sunshine. I don't know which I'm more eager to do... Hmm.
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #6 on May 31st, 2012, 09:02 PM »
Has this been fixed?

Nao

  • Madman
  • With a Box
  • If you say so.....
  • Posts: 13,078
Re: sb refresh does not update scrollbar
« Reply #7 on May 31st, 2012, 11:53 PM »
Nope... Not that I found any issues myself, though. (Known song.)
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • I'm a shooting star leaping through the skies, like a tiger defying the laws of gravity...
  • Posts: 14,006
Re: sb refresh does not update scrollbar
« Reply #8 on July 23rd, 2012, 02:57 AM »
Does this still occur?
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #9 on July 23rd, 2012, 04:22 AM »
I'd assume so since I didn't see the fix in the changelog.

Nao

  • Madman
  • With a Box
  • If you say so.....
  • Posts: 13,078
Re: sb refresh does not update scrollbar
« Reply #10 on July 26th, 2012, 04:21 PM »
I'd really appreciate being given a clear test case for this... ;)
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #11 on July 26th, 2012, 11:08 PM »
You need some code posted.....?

Nao

  • Madman
  • With a Box
  • If you say so.....
  • Posts: 13,078
Re: sb refresh does not update scrollbar
« Reply #12 on July 27th, 2012, 09:10 AM »
Err... Yes?
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • I'm a shooting star leaping through the skies, like a tiger defying the laws of gravity...
  • Posts: 14,006
Re: sb refresh does not update scrollbar
« Reply #13 on July 27th, 2012, 05:59 PM »
Either an example of where it occurs in base Wedge, or example code to reproduce it ;)
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,503
Re: sb refresh does not update scrollbar
« Reply #14 on July 28th, 2012, 10:10 AM »
https://github.com/live627/jAhsum/tree/master/dateinput (I forgot I open sourced it)

It just attaches to a regular text input element.