react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

pagination drop down option become anchor(link)

Open noeljoaquin30 opened this issue 7 years ago • 6 comments

Pagination drop down option become anchor(link)instead of a normal selection option. I noticed also after i select 25,30 ,50(last) (it's working) but after i select previous page size(30,25 or 10) my page redirect to home page.

noeljoaquin30 avatar Mar 29 '19 08:03 noeljoaquin30

@noeljoaquin30 pagination dropdown option is always an anchor in bootstrap3 and 4. In addition, the href attribute is always #, so is it any example can let me reproduce it,

https://codesandbox.io/s/k5750vzzvv this is an example you can take and give me a simple and minimal case for reproducing, thanks. I will open this issue when I can reproduce this issue

AllenFang avatar Mar 31 '19 06:03 AllenFang

@AllenFang i tried to fork your example and i have added records to test the pagination. And the page size option is not href attribute. Please check example https://codesandbox.io/s/nro84z60np thank you

noeljoaquin30 avatar Apr 01 '19 05:04 noeljoaquin30

hi @AllenFang can you re-open the issue? since it is not cleared to me and not yet fixed. thanks

noeljoaquin30 avatar Apr 04 '19 00:04 noeljoaquin30

螢幕快照 2019-04-07 下午3 01 59

Your example work for me lol

AllenFang avatar Apr 07 '19 07:04 AllenFang

yes that's right but in my real project the pagination size is an anchor link. how it was happened ?

noeljoaquin30 avatar Apr 08 '19 04:04 noeljoaquin30

yes that's right but in my real project the pagination size is an anchor link. how it was happened ?

@noeljoaquin30 i have same issue, the drop down button it self navigating to "/step" page. Is this fixed in your case?

sudir81 avatar Mar 09 '20 19:03 sudir81